From: Shaya Potter <spotter@cs.columbia.edu>
To: linux-fsdevel@vger.kernel.org
Subject: d_path and stackable filesystems
Date: 29 Jul 2003 00:02:25 -0400 [thread overview]
Message-ID: <1059451345.911.29.camel@zaphod> (raw)
I'm trying to use d_path() inside a stackable filesystems (using fist),
but it only figures out the path until the mount point of the stackable
fs. Is this a limitation of the d_path algorithm, fist, both? any way
of me working around it?
as far as I can tell it's because of this piece of code
if (dentry == vfsmnt->mnt_root || IS_ROOT(dentry) ) {
/* Global root? */
if (vfsmnt->mnt_parent == vfsmnt)
goto global_root;
namely the vfsmnt->mnt_parent == vfsmnt.
any ideas on how I can work around it?
thanks,
shaya
reply other threads:[~2003-07-29 4:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1059451345.911.29.camel@zaphod \
--to=spotter@cs.columbia.edu \
--cc=linux-fsdevel@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