Re: [PATCH] ksmbd: delete only the stream whose handle has delete-on-close
From: ChenXiaoSong
Date: Tue Dec 01 2026 - 20:27:11 EST
That makes sense, but it seems to require substantial changes.
On 12/1/26 22:34, Namjae Jeon wrote:
With this patch, closing a handle opened with FILE_DELETE_ON_CLOSE
removes the stream xattr even if another handle to the same stream is
still open. The stream should be deleted only when the last handle to
that stream is closed.
--
ChenXiaoSong <chenxiaosong@xxxxxxxxxxxxxxxx>
Chinese Homepage: https://chenxiaosong.com
English Homepage: https://chenxiaosong.com/en