On Fri, Jun 06, 2014 at 09:07:05AM -0400, Jeff Layton wrote: > From: Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx> > > Ensure that we only can have a single struct nfs4_file per inode > in the file_hashtbl and make addition atomic with respect to lookup. > > To prevent an i_lock/state_lock inversion, change nfsd4_init_file to > use ihold instead if igrab. That's also more efficient anyway as we > definitely hold a reference to the inode at that point. > > Signed-off-by: Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx> > Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxxxxxxx> Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html