Re: (struct dentry *)->vfsmnt;

Andreas Dilger (adilger@turbolinux.com)
Tue, 13 Mar 2001 21:27:09 -0700 (MST)


You write:
> > What about if I want to know the mountpoint (inside the filesystem)
> > when it is mounted?
>
> Which mountpoint? There can be a lot of them (quite possibly - some
> of them out of the chroot jail you are in, so "any" is unlikely to
> do you any good).

How about the first one? The one that calls the "read_super" method.
AFAICT, only the first mount calls down to the FS anyways (the rest
is VFS internal).

Cheers, Andreas

-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/