summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-07-12 14:03:23 +0900
committerNamjae Jeon <linkinjeon@kernel.org>2026-08-17 15:00:45 +0900
commit8dd5ca858d26f947c59297ba96a8446a11d7aebf (patch)
tree3c3e80b924f055eb76063c5c5d9d60278a9a06e1 /tools/perf/scripts/python/bin
parent7f8029591bed054aceba18ca333e6ab20064441f (diff)
ksmbd: check base file delete pending for stream opens
A base file that has been marked for deletion remains present while stream handles are open. Name-based opens of either the base file or one of its streams must return STATUS_DELETE_PENDING during that interval. ksmbd_inode_pending_delete() returned only the per-handle stream state for stream handles. It therefore skipped the inode-wide S_DEL_PENDING state set by the base file delete-on-close path. As a result, a new stream open incorrectly succeeded. Check the inode-wide pending-delete state first for every handle. Only when the base file is not pending, check the per-handle stream state. Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions