diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-12-23 15:21:48 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-12-23 15:21:48 -0500 |
commit | e005e8041c132af9f70862e1387a222198f95e7f (patch) | |
tree | 2e151e4d7e4e76dd889a0212aaa07460aec6e0a6 /fs/nfs/nfs4proc.c | |
parent | 707fb4b324371f1b4bea5eb29e39d265c66086ae (diff) |
NFSv4: Rename the state reclaimer thread
It is really a more general purpose state management thread at this point.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 8a2dee9caa6e..2a347d47e38c 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -207,7 +207,7 @@ static int nfs4_wait_clnt_recover(struct nfs_client *clp) | |||
207 | 207 | ||
208 | might_sleep(); | 208 | might_sleep(); |
209 | 209 | ||
210 | res = wait_on_bit(&clp->cl_state, NFS4CLNT_STATE_RECOVER, | 210 | res = wait_on_bit(&clp->cl_state, NFS4CLNT_MANAGER_RUNNING, |
211 | nfs4_wait_bit_killable, TASK_KILLABLE); | 211 | nfs4_wait_bit_killable, TASK_KILLABLE); |
212 | return res; | 212 | return res; |
213 | } | 213 | } |
@@ -2861,7 +2861,7 @@ nfs4_async_handle_error(struct rpc_task *task, const struct nfs_server *server, | |||
2861 | case -NFS4ERR_EXPIRED: | 2861 | case -NFS4ERR_EXPIRED: |
2862 | rpc_sleep_on(&clp->cl_rpcwaitq, task, NULL); | 2862 | rpc_sleep_on(&clp->cl_rpcwaitq, task, NULL); |
2863 | nfs4_schedule_state_recovery(clp); | 2863 | nfs4_schedule_state_recovery(clp); |
2864 | if (test_bit(NFS4CLNT_STATE_RECOVER, &clp->cl_state) == 0) | 2864 | if (test_bit(NFS4CLNT_MANAGER_RUNNING, &clp->cl_state) == 0) |
2865 | rpc_wake_up_queued_task(&clp->cl_rpcwaitq, task); | 2865 | rpc_wake_up_queued_task(&clp->cl_rpcwaitq, task); |
2866 | task->tk_status = 0; | 2866 | task->tk_status = 0; |
2867 | return -EAGAIN; | 2867 | return -EAGAIN; |