public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* vfsmount
@ 2008-09-22 16:57 Rohit Sharma
  2008-09-25  6:43 ` vfsmount Manish Katiyar
  0 siblings, 1 reply; 3+ messages in thread
From: Rohit Sharma @ 2008-09-22 16:57 UTC (permalink / raw)
  To: Kernelnewbies; +Cc: ext4

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 ??

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-25 11:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-22 16:57 vfsmount Rohit Sharma
2008-09-25  6:43 ` vfsmount Manish Katiyar
2008-09-25 11:53   ` vfsmount Srikanth Srinivasan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox