diff options
author | Ricardo Labiaga <Ricardo.Labiaga@netapp.com> | 2009-12-07 09:48:30 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-12-07 09:48:30 -0500 |
commit | 74e7bb73a3e0d15a7db10b0f2b2efdeeef36609e (patch) | |
tree | a2e4f4bbed15b265b4064337519e0717da8bfdcd | |
parent | 79708861189eb89dea6711bd0464b097b69e7c79 (diff) |
nfs41: Handle NFSv4.1 session errors in the delegation recall code
Signed-off-by: Ricardo Labiaga <Ricardo.Labiaga@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-rw-r--r-- | fs/nfs/nfs4proc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index d8c2ceb303d1..cdf17d628450 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -4180,6 +4180,11 @@ int nfs4_lock_delegation_recall(struct nfs4_state *state, struct file_lock *fl) | |||
4180 | case -NFS4ERR_EXPIRED: | 4180 | case -NFS4ERR_EXPIRED: |
4181 | case -NFS4ERR_STALE_CLIENTID: | 4181 | case -NFS4ERR_STALE_CLIENTID: |
4182 | case -NFS4ERR_STALE_STATEID: | 4182 | case -NFS4ERR_STALE_STATEID: |
4183 | case -NFS4ERR_BADSESSION: | ||
4184 | case -NFS4ERR_BADSLOT: | ||
4185 | case -NFS4ERR_BAD_HIGH_SLOT: | ||
4186 | case -NFS4ERR_CONN_NOT_BOUND_TO_SESSION: | ||
4187 | case -NFS4ERR_DEADSESSION: | ||
4183 | nfs4_schedule_state_recovery(server->nfs_client); | 4188 | nfs4_schedule_state_recovery(server->nfs_client); |
4184 | goto out; | 4189 | goto out; |
4185 | case -ERESTARTSYS: | 4190 | case -ERESTARTSYS: |