]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitfdcb45777a3d1689c5541e1f85ee3ebbd197d2c1
treee0fccac2d5b21b0ea0dbddc9ce7ccd50de341131
parent7549ad5f9b6eda49bbac4b14c5b8f37bf464f922
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