summaryrefslogtreecommitdiff
path: root/tools/testing/shared/linux
diff options
context:
space:
mode:
authorChenXiaoSong <chenxiaosong@kylinos.cn>2026-05-18 15:23:22 +0000
committerSteve French <stfrench@microsoft.com>2026-05-21 18:20:24 -0500
commit4ec9c8e023c79f613fe4d5ad8cc737112efb2e44 (patch)
treeef3a3d8c16fc4d0473fb3bd5e642fc122d8254a7 /tools/testing/shared/linux
parent69f030cf95488ae1186c72ac8c66fd279664ea7f (diff)
smb/server: promote S_DEL_ON_CLS to S_DEL_PENDING when close
Reproducer: 1. server: systemctl start ksmbd 2. client: mount -t cifs //${server_ip}/export /mnt 3. client: C program: openat(AT_FDCWD, "/mnt", O_RDWR | O_TMPFILE, 0600) Do not treat `FILE_DELETE_ON_CLOSE_LE` as delete pending while files remain open. This patch fixes xfstests generic/004. Cc: stable@vger.kernel.org Link: https://chenxiaosong.com/en/smb-xfstests-generic-004.html Co-developed-by: Huiwen He <hehuiwen@kylinos.cn> Signed-off-by: Huiwen He <hehuiwen@kylinos.cn> Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn> Tested-by: Steve French <stfrench@microsoft.com> Acked-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/testing/shared/linux')
0 files changed, 0 insertions, 0 deletions