diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-05-28 15:36:28 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-05-28 21:21:48 (GMT) |
commit | fb13bfa7e1bcfdcfdece47c24b62f1a1cad957e9 (patch) | |
tree | e4df7a2bb6737e6e725c7b333e824a9edf77a98f /fs/signalfd.c | |
parent | 359d7d1c976851c658aa7085761015812ed3b56f (diff) | |
download | linux-fb13bfa7e1bcfdcfdece47c24b62f1a1cad957e9.tar.xz |
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 <Trond.Myklebust@netapp.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/signalfd.c')
0 files changed, 0 insertions, 0 deletions