浏览代码

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 8 年之前
父节点
当前提交
42e616167a
共有 1 个文件被更改,包括 1 次插入0 次删除
  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;