mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
ksmbd: handle empty QUERY_ALLOCATED_RANGES output
FSCTL_QUERY_ALLOCATED_RANGES can be issued with a valid input buffer but without room for an output range. Do not reject the request before looking at the file layout. If the query would produce a range, return STATUS_BUFFER_TOO_SMALL. If it produces no ranges, return success with an empty output. Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
This commit is contained in:
parent
86c84cc760
commit
7f07791522
1 changed files with 12 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue