Commit a1aa09be authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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


Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 21a446cf
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment