Re: [PATCH v2] Fix i_mutex handling in nfsd readdir

From: J. Bruce Fields
Date: Fri May 08 2009 - 14:48:22 EST


On Thu, May 07, 2009 at 01:38:27PM +0900, hooanon05@xxxxxxxxxxx wrote:
>
> "J. Bruce Fields":
> > I wonder if it'd be simpler just to keep the loookup_one_len() in
> > nfsd4_encode_dirent() and just be prepared to roll back the encoding
> > we've already done if we find out at that point the dentry has gone
> > negative. Actually, that doesn't look hard.
> >
> > Thanks for looking at this!
>
> The patch looks much better than before, and more than I expected. :-)

OK, thanks, I'll submit it to 2.6.30 and .29.

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