aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nfs4.h')
-rw-r--r--include/linux/nfs4.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/nfs4.h b/include/linux/nfs4.h
index e7e78537aea2..63a817631f06 100644
--- a/include/linux/nfs4.h
+++ b/include/linux/nfs4.h
@@ -266,7 +266,7 @@ enum nfsstat4 {
266 266
267static inline bool seqid_mutating_err(u32 err) 267static inline bool seqid_mutating_err(u32 err)
268{ 268{
269 /* rfc 3530 section 8.1.5: */ 269 /* See RFC 7530, section 9.1.7 */
270 switch (err) { 270 switch (err) {
271 case NFS4ERR_STALE_CLIENTID: 271 case NFS4ERR_STALE_CLIENTID:
272 case NFS4ERR_STALE_STATEID: 272 case NFS4ERR_STALE_STATEID:
@@ -275,6 +275,7 @@ static inline bool seqid_mutating_err(u32 err)
275 case NFS4ERR_BADXDR: 275 case NFS4ERR_BADXDR:
276 case NFS4ERR_RESOURCE: 276 case NFS4ERR_RESOURCE:
277 case NFS4ERR_NOFILEHANDLE: 277 case NFS4ERR_NOFILEHANDLE:
278 case NFS4ERR_MOVED:
278 return false; 279 return false;
279 }; 280 };
280 return true; 281 return true;