summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2016-10-04 13:57:43 -0400
committerJ. Bruce Fields <bfields@redhat.com>2016-10-07 14:54:19 -0400
commit42e616167abb7e4074cfba3a2ca19fa2aba40048 (patch)
tree6f8b63b25f2f9553afa76a27337d716196d8e8c9 /fs/nfsd
parentff30f08c32f932272f9bd4c1caca824ffc939346 (diff)
downloadlinux-42e616167abb7e4074cfba3a2ca19fa2aba40048.tar.bz2
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;