NFSv4: Fix a sleep in atomic context in nfs4_callback_sequence()
authorTrond Myklebust <trondmy@gmail.com>
Tue, 14 Aug 2018 21:55:56 +0000 (17:55 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 15 Aug 2018 16:05:15 +0000 (12:05 -0400)
commit8618289c46556fd4dd259a1af02ccc448032f48d
treedae02612130410f169459c9a56e81dcbab2e7f6b
parentd0fbb1d8a194c0ec0180c1d073ad709e45503a43
NFSv4: Fix a sleep in atomic context in nfs4_callback_sequence()

We must drop the lock before we can sleep in referring_call_exists().

Reported-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Fixes: 045d2a6d076a ("NFSv4.1: Delay callback processing...")
Cc: stable@vger.kernel.org # v4.9+
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/callback_proc.c