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

From: hooanon05
Date: Thu May 07 2009 - 00:39:09 EST



"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. :-)


J. R. Okajima
--
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/