mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
ksmbd: preserve DOS attributes across truncating opens
An existing file can be opened with a truncating create request that supplies FileAttributes. Do not reset its cached DOS attributes while opening it. After a successful truncation, apply the requested attributes and store them in the DOS attribute xattr. This preserves READONLY when a truncating open requests that attribute. Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
This commit is contained in:
parent
dd56221217
commit
125c471ca9
1 changed files with 8 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue