NFSv4: Fix nfs_server_return_all_delegations
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 3 Apr 2013 23:04:58 +0000 (19:04 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 5 Apr 2013 21:03:56 +0000 (17:03 -0400)
commit5c31e2368f39aee062cb697d4b8857c64c7cef7c
tree99ce8f55797be64962c30a843666a0089e051665
parentb757144fd77cf5512f5b60179ba5ca8dcc5184b4
NFSv4: Fix nfs_server_return_all_delegations

If the state manager thread is already running, we may end up
racing with it in nfs_client_return_marked_delegations. Better to
just allow the state manager thread to do the job.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/delegation.c