Linux filesystem development
 help / color / mirror / Atom feed
* d_path and stackable filesystems
@ 2003-07-29  4:02 Shaya Potter
  0 siblings, 0 replies; only message in thread
From: Shaya Potter @ 2003-07-29  4:02 UTC (permalink / raw)
  To: linux-fsdevel

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-29  4:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-29  4:02 d_path and stackable filesystems Shaya Potter

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