summaryrefslogtreecommitdiffstats
path: root/kernel/fs/nfs/nfs4state.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/nfs/nfs4state.c')
-rw-r--r--kernel/fs/nfs/nfs4state.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/fs/nfs/nfs4state.c b/kernel/fs/nfs/nfs4state.c
index d854693a1..82dc3035e 100644
--- a/kernel/fs/nfs/nfs4state.c
+++ b/kernel/fs/nfs/nfs4state.c
@@ -1493,6 +1493,9 @@ restart:
__func__, status);
case -ENOENT:
case -ENOMEM:
+ case -EACCES:
+ case -EROFS:
+ case -EIO:
case -ESTALE:
/* Open state on this file cannot be recovered */
nfs4_state_mark_recovery_failed(state, status);