nfsd: handle EUCLEAN
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 4 Oct 2016 17:57:43 +0000 (13:57 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 7 Oct 2016 18:54:19 +0000 (14:54 -0400)
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>
fs/nfsd/nfsproc.c

index a56ee10..78cd770 100644 (file)
@@ -791,6 +791,7 @@ nfserrno (int errno)
                { nfserr_toosmall, -ETOOSMALL },
                { nfserr_serverfault, -ESERVERFAULT },
                { nfserr_serverfault, -ENFILE },
+               { nfserr_io, -EUCLEAN },
        };
        int     i;