aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2022-11-11 13:11:53 +0000
committerSteve French <[email protected]>2022-12-11 14:33:31 +0000
commit7ecbe92696bb7fe32c80b6cf64736a0d157717a9 (patch)
tree4a2d3d21669f0540e770bcb1490ea4a83fec227c /lib/fault-inject.c
parentksmbd: set SMB2_SESSION_FLAG_ENCRYPT_DATA when enforcing data encryption for ... (diff)
downloadkernel-7ecbe92696bb7fe32c80b6cf64736a0d157717a9.tar.gz
kernel-7ecbe92696bb7fe32c80b6cf64736a0d157717a9.zip
ksmbd: use F_SETLK when unlocking a file
ksmbd seems to be trying to use a cmd value of 0 when unlocking a file. That activity requires a type of F_UNLCK with a cmd of F_SETLK. For local POSIX locking, it doesn't matter much since vfs_lock_file ignores @cmd, but filesystems that define their own ->lock operation expect to see it set sanely. Cc: David Howells <[email protected]> Signed-off-by: Jeff Layton <[email protected]> Reviewed-by: David Howells <[email protected]> Acked-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions