summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/allocator
diff options
context:
space:
mode:
authorIan Bridges <icb@fastmail.org>2026-11-05 21:53:45 -0600
committerNamjae Jeon <linkinjeon@kernel.org>2026-11-08 12:48:56 +0900
commit2f14fe2d589583ce649b2bf1b449cc9839abda8b (patch)
tree5b41eac4bb7c828d7f6c690f42c41078836581fd /rust/kernel/alloc/allocator
parent81fefb6c635489e71e286d1465b6dd1d0a27ceec (diff)
ksmbd: skip metadata-only stream opens in the delete check
A metadata-only named-stream open without FILE_SHARE_DELETE blocks a later DELETE open of the file. It also blocks setting the file delete pending. Ignore a stream open unless its effective access includes data, execute or delete access. Reuse the sharing-access helper so overwriting a stream, or creating one on an existing file, still counts as FILE_WRITE_DATA. The Time Machine AFP_AfpInfo synthesis keeps only its requested access. Fixes: 19043971c947 ("ksmbd: honor stream delete sharing for base file") Cc: stable@vger.kernel.org Signed-off-by: Ian Bridges <icb@fastmail.org> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/allocator')
0 files changed, 0 insertions, 0 deletions