kernel_optimize_test/fs/nfs
Dave Chinner 0444d76ae6 fs: don't use igrab() while holding i_lock
Fix the incorrect use of igrab() inside the i_lock in NFS and Ceph‥

If we are already holding the i_lock, we have a reference to the
inode so we can safely use ihold() to gain an extra reference. This
avoids hangs due to lock recursion on the i_lock now that the
inode_lock is gone and igrab() uses the i_lock itself.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: linux-fsdevel@vger.kernel.org
Cc: Ryan Mallon <ryan@bluewatersys.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-03-29 07:50:34 -07:00
..
cache_lib.c
cache_lib.h
callback_proc.c
callback_xdr.c
callback.c
callback.h
client.c
delegation.c
delegation.h
dir.c Merge branch 'nfs-for-2.6.39' into nfs-for-next 2011-03-24 17:03:14 -04:00
direct.c
dns_resolve.c
dns_resolve.h
file.c NFSv4.1 convert layoutcommit sync to boolean 2011-03-24 15:49:48 -04:00
fscache-index.c
fscache.c
fscache.h
getroot.c Merge branch 'nfs-for-2.6.39' into nfs-for-next 2011-03-24 17:03:14 -04:00
idmap.c
inode.c Merge branch 'nfs-for-2.6.39' into nfs-for-next 2011-03-24 17:03:14 -04:00
internal.h Merge branch 'nfs-for-2.6.39' into nfs-for-next 2011-03-24 17:03:14 -04:00
iostat.h
Kconfig
Makefile
mount_clnt.c
namespace.c NFS: Don't leak RPC clients in NFSv4 secinfo negotiation 2011-03-27 17:48:17 +02:00
nfs2xdr.c
nfs3acl.c
nfs3proc.c NFS: lookup supports alternate client 2011-03-24 13:52:41 -04:00
nfs3xdr.c
nfs4_fs.h Merge branch 'nfs-for-2.6.39' into nfs-for-next 2011-03-24 17:03:14 -04:00
nfs4filelayout.c Cleanup XDR parsing for LAYOUTGET, GETDEVICEINFO 2011-03-24 17:01:41 -04:00
nfs4filelayout.h NFSv4.1: alloc and free commit_buckets 2011-03-23 15:29:03 -04:00
nfs4filelayoutdev.c Cleanup XDR parsing for LAYOUTGET, GETDEVICEINFO 2011-03-24 17:01:41 -04:00
nfs4namespace.c
nfs4proc.c Merge branch 'nfs-for-2.6.39' into nfs-for-next 2011-03-24 17:03:14 -04:00
nfs4renewd.c
nfs4state.c fs: don't use igrab() while holding i_lock 2011-03-29 07:50:34 -07:00
nfs4xdr.c Merge branch 'nfs-for-2.6.39' into nfs-for-next 2011-03-24 17:03:14 -04:00
nfsroot.c
pagelist.c NFS: Fix a hang in the writeback path 2011-03-27 17:48:07 +02:00
pnfs.c Cleanup XDR parsing for LAYOUTGET, GETDEVICEINFO 2011-03-24 17:01:41 -04:00
pnfs.h Cleanup XDR parsing for LAYOUTGET, GETDEVICEINFO 2011-03-24 17:01:41 -04:00
proc.c NFS: lookup supports alternate client 2011-03-24 13:52:41 -04:00
read.c
super.c
symlink.c
sysctl.c
unlink.c
write.c NFS: Fix a hang in the writeback path 2011-03-27 17:48:07 +02:00