Alexander Viro wrote:
> >
> > What else could it be, since it's a "struct inode *"? NULL?
>
> struct block_device *, for one thing. We'll have to do that as soon
> as we do block devices in pagecache.
>
How would you know what datatype it is? A union? Making "struct
block_device *" a "struct inode *" in a nonmounted filesystem? In a
devfs? (Seriously. Being able to do these kinds of data-structural
equivalence is IMO the nice thing about devfs & co...)
-hpa
--
<[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Re: Getting FS access events Linus Torvalds
- Re: Getting FS access events Alexander Viro
- Re: Getting FS access events David Woodhouse
- Re: Getting FS access events Chris Mason
- Re: Getting FS access events H. Peter Anvin
- Re: Getting FS access events Alexander Viro
- Re: Getting FS access events H. Peter Anvin
- Re: Getting FS access events Alexander Viro
- Re: Getting FS access events H. Peter Anvin
- Re: Getting FS access events Alexander Viro
- Re: Getting FS access events H. Peter Anvin
- Re: Getting FS access events Alexander Viro
- Re: Getting FS access events Linus Torvalds
- Re: Getting FS access events H. Peter Anvin
- Re: Getting FS access events Linus Torvalds
- Re: Getting FS access events Jan Harkes
- Re: Getting FS access events Lars Brinkhoff
- Re: Getting FS access events Kai Henningsen
- Re: Getting FS access events Alexander Viro
- Re: Getting FS access events Alexander Viro
- Re: Getting FS access events Alan Cox

