diff options
| author | 2026-05-18 15:23:22 +0000 | |
|---|---|---|
| committer | 2026-05-21 18:20:24 -0500 | |
| commit | 4ec9c8e023c79f613fe4d5ad8cc737112efb2e44 (patch) | |
| tree | ef3a3d8c16fc4d0473fb3bd5e642fc122d8254a7 /samples/kobject/ssh:/git@git.zx2c4.com/git: | |
| parent | ksmbd: validate SID in parent security descriptor during ACL inheritance (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 'samples/kobject/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
