aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2025-01-26 16:50:20 -0500
committerChuck Lever <chuck.lever@oracle.com>2025-03-10 09:10:57 -0400
commit6e45906a0b8098937667ddf8fa3b07d916165688 (patch)
tree2188e5c037a9fb2e38eb051db5e084407584b33b /tools/perf/scripts/python
parentNFSD: Return NFS4ERR_FILE_OPEN only when renaming over an open file (diff)
downloadlinux-6e45906a0b8098937667ddf8fa3b07d916165688.tar.gz
linux-6e45906a0b8098937667ddf8fa3b07d916165688.zip
NFSD: Return NFS4ERR_FILE_OPEN only when linking an open file
RFC 8881 Section 18.9.4 paragraphs 1 - 2 tell us that RENAME should return NFS4ERR_FILE_OPEN only when the target object is a file that is currently open. If the target is a directory, some other status must be returned. The VFS is unlikely to return -EBUSY, but NFSD has to ensure that errno does not leak to clients as a status code that is not permitted by spec. Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions