]> 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)
committerSasha Levin <sasha.levin@oracle.com>
Tue, 24 Mar 2015 01:02:51 +0000 (21:02 -0400)
commit1b9428b3de359595bcf55c792603218332a46739
treea46e8625758ce93d907d5c289b1bc3659d6e9e4b
parent6394d0e510ce8d1de980fe2641f81ac84f3166cc
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/delegation.c