]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Return delegations synchronously in evict_inode
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 25 Mar 2015 17:19:42 +0000 (13:19 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 27 Mar 2015 16:24:36 +0000 (12:24 -0400)
commit0a7b3dc5cdf47e7623697e4409aea2658e801de5
tree0ecb9fa6a231a8698b7bd963bb2f9c7ae2eece40
parent4404b40a2c00534c7ea78d6e106803840cce1d93
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 <kinglongmee@gmail.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/delegation.c