NFSv4: Ensure that the state manager exits the loop on SIGKILL

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
This commit is contained in:
Trond Myklebust 2018-11-05 12:17:01 -05:00
parent 21a446cf18
commit a1aa09be21

View File

@ -2604,7 +2604,7 @@ static void nfs4_state_manager(struct nfs_client *clp)
return;
if (test_and_set_bit(NFS4CLNT_MANAGER_RUNNING, &clp->cl_state) != 0)
return;
} while (refcount_read(&clp->cl_count) > 1);
} while (refcount_read(&clp->cl_count) > 1 && !signalled());
goto out_drain;
out_error: