From: "Rohit Sharma" <imreckless@gmail.com>
To: Kernelnewbies <kernelnewbies@nl.linux.org>
Cc: ext4 <linux-ext4@vger.kernel.org>
Subject: vfsmount
Date: Mon, 22 Sep 2008 22:27:33 +0530 [thread overview]
Message-ID: <2d08ef090809220957tc397ac5j6cdf110e7cd13f5c@mail.gmail.com> (raw)
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 ??
next reply other threads:[~2008-09-22 16:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-22 16:57 Rohit Sharma [this message]
2008-09-25 6:43 ` vfsmount Manish Katiyar
2008-09-25 11:53 ` vfsmount Srikanth Srinivasan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2d08ef090809220957tc397ac5j6cdf110e7cd13f5c@mail.gmail.com \
--to=imreckless@gmail.com \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-ext4@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox