mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
ksmbd: allow FSCTL_SET_SPARSE without input buffer
FSCTL_SET_SPARSE without an input buffer sets a file sparse. Treat a zero-length input buffer as SetSparse=true and keep rejecting truncated non-empty buffers. Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
This commit is contained in:
parent
31169f4177
commit
86c84cc760
1 changed files with 8 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue