summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2016-10-04 19:57:43 +0200
committerJ. Bruce Fields <bfields@redhat.com>2016-10-07 20:54:19 +0200
commit42e616167abb7e4074cfba3a2ca19fa2aba40048 (patch)
tree6f8b63b25f2f9553afa76a27337d716196d8e8c9 /fs/nfsd
parentnfsd: only WARN once on unmapped errors (diff)
downloadlinux-42e616167abb7e4074cfba3a2ca19fa2aba40048.tar.xz
linux-42e616167abb7e4074cfba3a2ca19fa2aba40048.zip
nfsd: handle EUCLEAN
Eric Sandeen reports that xfs can return this if filesystem corruption prevented completing the operation. Reported-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfsproc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/nfsproc.c b/fs/nfsd/nfsproc.c
index a56ee10204d9..78cd77042a25 100644
--- a/fs/nfsd/nfsproc.c
+++ b/fs/nfsd/nfsproc.c
@@ -791,6 +791,7 @@ nfserrno (int errno)
{ nfserr_toosmall, -ETOOSMALL },
{ nfserr_serverfault, -ESERVERFAULT },
{ nfserr_serverfault, -ENFILE },
+ { nfserr_io, -EUCLEAN },
};
int i;