Re: [PATCH] address_space_operations unification

From: Steve Dodd (steved@loth.demon.co.uk)
Date: Sun May 07 2000 - 05:49:52 EST


On Sun, May 07, 2000 at 11:35:01AM +0200, Trond Myklebust wrote:
> >>>>> Linus Torvalds <torvalds@transmeta.com> writes:

[..]
> > - struct inode *inode = dentry->d_inode;
> > + struct inode *inode = (struct inode*)page->mapping->host;
>
> No. Not good enough for those of us who actually need a dentry. c.f.
> the 'readlink' code.

Why isn't the inode good enough? What's the (doubtless embarassingly
obvious) reason that I've missed for the file handle not simply being an
(inode number, inode generation) pair?

-
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 : Sun May 07 2000 - 21:00:20 EST