]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFSv4: Don't call put_rpccred() under the rcu_read_lock()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 26 Feb 2015 17:54:46 +0000 (12:54 -0500)
committerJiri Slaby <jslaby@suse.cz>
Mon, 16 Mar 2015 13:58:20 +0000 (14:58 +0100)
commit168d2e5ef722d727d632b27226e36d14123af5b2
treedf40e2be2bda4899671120ef18049e054b90b772
parentfec983fe4a8885f402ba647d9c476e6b644ce787
NFSv4: Don't call put_rpccred() under the rcu_read_lock()

commit 7c0af9ffb7bb4e5355470fa60b3eb711ddf226fa upstream.

put_rpccred() can sleep.

Fixes: 8f649c3762547 ("NFSv4: Fix the locking in nfs_inode_reclaim_delegation()")
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
fs/nfs/delegation.c