nfs4proc.c (fda1393938035559b417dd5b26b9cc293a7aee00) | nfs4proc.c (5d00837b90340af9106dcd93af75fd664c8eb87f) |
---|---|
1/* 2 * fs/nfs/nfs4proc.c 3 * 4 * Client-side procedure declarations for NFSv4. 5 * 6 * Copyright (c) 2002 The Regents of the University of Michigan. 7 * All rights reserved. 8 * --- 2751 unchanged lines hidden (view full) --- 2760 struct nfs_client *clp = server->nfs_client; 2761 2762 if (!clp || task->tk_status >= 0) 2763 return 0; 2764 switch(task->tk_status) { 2765 case -NFS4ERR_STALE_CLIENTID: 2766 case -NFS4ERR_STALE_STATEID: 2767 case -NFS4ERR_EXPIRED: | 1/* 2 * fs/nfs/nfs4proc.c 3 * 4 * Client-side procedure declarations for NFSv4. 5 * 6 * Copyright (c) 2002 The Regents of the University of Michigan. 7 * All rights reserved. 8 * --- 2751 unchanged lines hidden (view full) --- 2760 struct nfs_client *clp = server->nfs_client; 2761 2762 if (!clp || task->tk_status >= 0) 2763 return 0; 2764 switch(task->tk_status) { 2765 case -NFS4ERR_STALE_CLIENTID: 2766 case -NFS4ERR_STALE_STATEID: 2767 case -NFS4ERR_EXPIRED: |
2768 rpc_sleep_on(&clp->cl_rpcwaitq, task, NULL, NULL); | 2768 rpc_sleep_on(&clp->cl_rpcwaitq, task, NULL); |
2769 nfs4_schedule_state_recovery(clp); 2770 if (test_bit(NFS4CLNT_STATE_RECOVER, &clp->cl_state) == 0) 2771 rpc_wake_up_queued_task(&clp->cl_rpcwaitq, task); 2772 task->tk_status = 0; 2773 return -EAGAIN; 2774 case -NFS4ERR_DELAY: 2775 nfs_inc_server_stats((struct nfs_server *) server, 2776 NFSIOS_DELAY); --- 965 unchanged lines hidden --- | 2769 nfs4_schedule_state_recovery(clp); 2770 if (test_bit(NFS4CLNT_STATE_RECOVER, &clp->cl_state) == 0) 2771 rpc_wake_up_queued_task(&clp->cl_rpcwaitq, task); 2772 task->tk_status = 0; 2773 return -EAGAIN; 2774 case -NFS4ERR_DELAY: 2775 nfs_inc_server_stats((struct nfs_server *) server, 2776 NFSIOS_DELAY); --- 965 unchanged lines hidden --- |