[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <2d08ef090809220957tc397ac5j6cdf110e7cd13f5c@mail.gmail.com>
Date: Mon, 22 Sep 2008 22:27:33 +0530
From: "Rohit Sharma" <imreckless@...il.com>
To: Kernelnewbies <kernelnewbies@...linux.org>
Cc: ext4 <linux-ext4@...r.kernel.org>
Subject: vfsmount
I am interested in getting the vfsmount structure of the mounted file
system from my module.
I used filp = get_empty_filp() (filp is file pointer)
function to create an empty file object (as this contains pointer to
vfsmount structure)
file object has a field f_vfsmnt which points to the vfsmount structure
i am storing this in my own my_vfsmnt structure of type vfsmount.
my_vfsmnt = filp->f_vfsmnt
but i am getting my_vfsmnt as NULL ??
is there any other way of getting the vfsmount structure ??
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists