diff options
| author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2018-11-05 12:17:01 -0500 |
|---|---|---|
| committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2018-11-12 16:39:13 -0500 |
| commit | a1aa09be21fa344d1f5585aab8164bfae55f57e3 (patch) | |
| tree | 3c89a76c9a6edf6583b1d778c0d70fa6295dfa55 | |
| parent | 21a446cf186570168b7281b154b1993968598aca (diff) | |
NFSv4: Ensure that the state manager exits the loop on SIGKILL
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
| -rw-r--r-- | fs/nfs/nfs4state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c index 98d1b6a6646a..ffea57885394 100644 --- a/fs/nfs/nfs4state.c +++ b/fs/nfs/nfs4state.c | |||
| @@ -2604,7 +2604,7 @@ static void nfs4_state_manager(struct nfs_client *clp) | |||
| 2604 | return; | 2604 | return; |
| 2605 | if (test_and_set_bit(NFS4CLNT_MANAGER_RUNNING, &clp->cl_state) != 0) | 2605 | if (test_and_set_bit(NFS4CLNT_MANAGER_RUNNING, &clp->cl_state) != 0) |
| 2606 | return; | 2606 | return; |
| 2607 | } while (refcount_read(&clp->cl_count) > 1); | 2607 | } while (refcount_read(&clp->cl_count) > 1 && !signalled()); |
| 2608 | goto out_drain; | 2608 | goto out_drain; |
| 2609 | 2609 | ||
| 2610 | out_error: | 2610 | out_error: |
