Explorar o código

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>
J. Bruce Fields %!s(int64=9) %!d(string=hai) anos
pai
achega
42e616167a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      fs/nfsd/nfsproc.c

+ 1 - 0
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;