Skip to content

Commit a2694e5

Browse files
Jeff Laytonchucklever
authored andcommitted
nfsd: Add errno mapping for EREMOTEIO
The NFS client can occasionally return EREMOTEIO when signalling issues with the server. ...map to NFSERR_IO. Signed-off-by: Jeff Layton <jeff.layton@primarydata.com> Signed-off-by: Lance Shelton <lance.shelton@hammerspace.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
1 parent b3d0db7 commit a2694e5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

fs/nfsd/nfsproc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,7 @@ nfserrno (int errno)
874874
{ nfserr_toosmall, -ETOOSMALL },
875875
{ nfserr_serverfault, -ESERVERFAULT },
876876
{ nfserr_serverfault, -ENFILE },
877+
{ nfserr_io, -EREMOTEIO },
877878
{ nfserr_io, -EUCLEAN },
878879
{ nfserr_perm, -ENOKEY },
879880
{ nfserr_no_grace, -ENOGRACE},

0 commit comments

Comments
 (0)