mirror of https://gitee.com/openkylin/linux.git
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:
parent
21a446cf18
commit
a1aa09be21
|
@ -2604,7 +2604,7 @@ static void nfs4_state_manager(struct nfs_client *clp)
|
||||||
return;
|
return;
|
||||||
if (test_and_set_bit(NFS4CLNT_MANAGER_RUNNING, &clp->cl_state) != 0)
|
if (test_and_set_bit(NFS4CLNT_MANAGER_RUNNING, &clp->cl_state) != 0)
|
||||||
return;
|
return;
|
||||||
} while (refcount_read(&clp->cl_count) > 1);
|
} while (refcount_read(&clp->cl_count) > 1 && !signalled());
|
||||||
goto out_drain;
|
goto out_drain;
|
||||||
|
|
||||||
out_error:
|
out_error:
|
||||||
|
|
Loading…
Reference in New Issue