Re: broken __IS_FLG() <linux/fs.h> in 2.4.0-test6-pre?

From: Mikael Pettersson (mikpe@csd.uu.se)
Date: Wed Aug 09 2000 - 03:59:01 EST


Alexander Viro wrote:

> On Wed, 9 Aug 2000, Mikael Pettersson wrote:
>
> > Note that (inode)->i_sb is now unconditionally dereferenced.
> >
> > Is this a bug or aren't anonymous i_sb-less inodes permitted anymore?
>
> The latter.

Thanks for clarifying this. I'll fix my module.

> > I have a module which exports "objects" to user-space as anonymous
> > files, and the underlying inodes have NULL i_sb fields.
>
> Erm... I guess that you've never tried to do ls -l /proc/<pid>/fd for
> processes blessed by such a gift?

No, never :-)

/Mikael

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:18 EST