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 compression state in set basic info
FILE_ATTRIBUTE_COMPRESSED is controlled by FSCTL_SET_COMPRESSION and should not be set directly through FileBasicInformation. Keep the existing compression state when updating basic attributes and ignore the compressed bit supplied by the client in the basic information request. Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
This commit is contained in:
parent
0fb327626a
commit
bea20b6516
1 changed files with 5 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue