ksmbd: reject FSCTL_SET_SPARSE on directories

FSCTL_SET_SPARSE applies to files.  Return STATUS_INVALID_PARAMETER when a
client sends it for a directory handle instead of setting the sparse file
attribute on the directory.

Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
This commit is contained in:
Namjae Jeon 2026-07-08 22:17:44 +09:00
commit 31169f4177