NFSv4: Return delegations synchronously in evict_inode
authorTrond Myklebust <[email protected]>
Wed, 25 Mar 2015 17:19:42 +0000 (13:19 -0400)
committerTrond Myklebust <[email protected]>
Fri, 27 Mar 2015 16:24:36 +0000 (12:24 -0400)
commit5fcdfacc01f3a3415b75acb172cd75c9fe1cbda5
tree0ecb9fa6a231a8698b7bd963bb2f9c7ae2eece40
parent0695314ef0920b745423510f1e96bf60415a404a
NFSv4: Return delegations synchronously in evict_inode

Kinglong Mee reports that asynchronous delegations are being killed
by the call to rpc_shutdown_client() when unmounting. This can lead
to state leakage on the server until the client lease expires.

Reported-by: Kinglong Mee <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
fs/nfs/delegation.c