summaryrefslogtreecommitdiff
path: root/fs/nfsd/nfsproc.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2016-10-04 20:57:43 +0300
committerJ. Bruce Fields <bfields@redhat.com>2016-10-07 21:54:19 +0300
commit42e616167abb7e4074cfba3a2ca19fa2aba40048 (patch)
tree6f8b63b25f2f9553afa76a27337d716196d8e8c9 /fs/nfsd/nfsproc.c
parentff30f08c32f932272f9bd4c1caca824ffc939346 (diff)
downloadlinux-42e616167abb7e4074cfba3a2ca19fa2aba40048.tar.xz
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/nfsproc.c')
-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;