summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2025-01-27 00:50:20 +0300
committerChuck Lever <chuck.lever@oracle.com>2025-03-10 16:10:57 +0300
commit6e45906a0b8098937667ddf8fa3b07d916165688 (patch)
tree2188e5c037a9fb2e38eb051db5e084407584b33b /scripts/gdb/linux/lists.py
parent3b60984e79fcb040509f09464406ed1bc6fed6a0 (diff)
downloadlinux-6e45906a0b8098937667ddf8fa3b07d916165688.tar.xz
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 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions