]> git.baikalelectronics.ru Git - kernel.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)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 2 Mar 2015 04:23:07 +0000 (23:23 -0500)
commit85afc45eec0d05df40cba69f66a1d395d20030e4
tree6e12ecf6d6d08452230ea857d421c5529b5639d1
parent47ff5d75950462673325a3f5e490be9d4540c081
NFSv4: Don't call put_rpccred() under the rcu_read_lock()

put_rpccred() can sleep.

Fixes: 9997c6f4093db ("NFSv4: Fix the locking in nfs_inode_reclaim_delegation()")
Cc: stable@vger.kernel.org # 2.6.35+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/delegation.c