]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix the mapping of the NFSERR_SERVERFAULT error
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 8 Feb 2010 14:32:40 +0000 (09:32 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 9 Feb 2010 19:29:29 +0000 (14:29 -0500)
commit79059755957757760ccebe607f5767155bc60159
treee0fccac2d5b21b0ea0dbddc9ce7ccd50de341131
parent498d2cc1989d3aef4017f9559e20f72cee7bd4da
NFS: Fix the mapping of the NFSERR_SERVERFAULT error

It was recently pointed out that the NFSERR_SERVERFAULT error, which is
designed to inform the user of a serious internal error on the server, was
being mapped to an error value that is internal to the kernel.

This patch maps it to the error EREMOTEIO, which is exported to userland
through errno.h.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
fs/nfs/mount_clnt.c
fs/nfs/nfs2xdr.c
fs/nfs/nfs4xdr.c