projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5aae4a9
)
nfs41: translate NFS4ERR_MINOR_VERS_MISMATCH to EPROTONOSUPPORT
author
Benny Halevy
<bhalevy@panasas.com>
Wed, 1 Apr 2009 13:21:51 +0000
(09:21 -0400)
committer
Benny Halevy
<bhalevy@panasas.com>
Wed, 17 Jun 2009 17:46:18 +0000
(10:46 -0700)
To be returned to the mount command when trying to mount a v4 server
using minorversion 1.
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4state.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/nfs4state.c
b/fs/nfs/nfs4state.c
index 0298e909559fdc67f0bc5e7bab885595743e90a1..bc683ed477e1045c100c72a0216558152a5520f6 100644
(file)
--- a/
fs/nfs/nfs4state.c
+++ b/
fs/nfs/nfs4state.c
@@
-1107,6
+1107,8
@@
static int nfs4_reclaim_lease(struct nfs_client *clp)
nfs4_clear_machine_cred(clp);
status = -EAGAIN;
}
+ if (status == -NFS4ERR_MINOR_VERS_MISMATCH)
+ status = -EPROTONOSUPPORT;
}
return status;
}