From: Trond Myklebust Date: Mon, 28 May 2012 15:36:28 +0000 (-0400) Subject: NFSv4: Map NFS4ERR_SHARE_DENIED into an EACCES error instead of EIO X-Git-Tag: v3.5-rc1~52^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb13bfa7e1bcfdcfdece47c24b62f1a1cad957e9;p=pandora-kernel.git NFSv4: Map NFS4ERR_SHARE_DENIED into an EACCES error instead of EIO If a file OPEN is denied due to a share lock, the resulting NFS4ERR_SHARE_DENIED is currently mapped to the default EIO. This patch adds a more appropriate mapping, and brings Linux into line with what Solaris 10 does. See https://bugzilla.kernel.org/show_bug.cgi?id=43286 Signed-off-by: Trond Myklebust Cc: stable@vger.kernel.org --- Reading git-diff-tree failed