Bug 43286
Summary: | NFS4ERR_SHARE_DENIED errors are translated to EIO | ||
---|---|---|---|
Product: | File System | Reporter: | Kevin Jamieson (spam) |
Component: | NFS | Assignee: | Trond Myklebust (trondmy) |
Status: | CLOSED CODE_FIX | ||
Severity: | low | CC: | alan, florian |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.0.0-19 x86_64 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | NFSv4: Map NFS4ERR_SHARE_DENIED into an EACCES error instead of EIO |
Description
Kevin Jamieson
2012-05-23 22:58:45 UTC
Created attachment 73448 [details]
NFSv4: Map NFS4ERR_SHARE_DENIED into an EACCES error instead of EIO
Does the above attachment fix the problem? Thanks, the patch looks good: $ cat /mount/nfs4/locked.file cat: /mount/nfs4/locked.file: Permission denied 9 0.115393 10.53.16.206 -> 10.96.65.126 NFS 130 V4 Reply (Call In 8) OPEN Status: NFS4ERR_SHARE_DENIED Pushed to Linus, so I'm marking this as resolved. A patch referencing this bug report has been merged in Linux v3.5-rc1: commit fb13bfa7e1bcfdcfdece47c24b62f1a1cad957e9 Author: Trond Myklebust <Trond.Myklebust@netapp.com> Date: Mon May 28 11:36:28 2012 -0400 NFSv4: Map NFS4ERR_SHARE_DENIED into an EACCES error instead of EIO |