Re: [PATCH 02/18] exportfs: add new methods

2007-09-21 Thread Christoph Hellwig
On Thu, Sep 20, 2007 at 05:18:40PM -0700, Andrew Morton wrote: > On Wed, 19 Sep 2007 18:30:25 +0200 > Christoph Hellwig <[EMAIL PROTECTED]> wrote: > > > + /* > > +* It's not a directory. Life is a little more complicated. > > +*/ > > + struct dentry *ta

Re: [PATCH 02/18] exportfs: add new methods

2007-09-20 Thread Andrew Morton
On Wed, 19 Sep 2007 18:30:25 +0200 Christoph Hellwig <[EMAIL PROTECTED]> wrote: > + /* > + * It's not a directory. Life is a little more complicated. > + */ > + struct dentry *target_dir, *nresult; > + char nbuf[NAME_MAX+1]; Lots of s

[PATCH 02/18] exportfs: add new methods

2007-09-19 Thread Christoph Hellwig
Add the guts for the new filesystem API to exportfs. There's now a fh_to_dentry method that returns a dentry for the object looked for given a filehandle fragment, and a fh_to_parent operation that returns the dentry for the encoded parent directory in case the file handle contains it. There are