mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
brd: Refuse improperly aligned discard requests
Currently when improperly aligned discard request is submitted, we just silently discard more / less data which results in filesystem corruption in some cases. Refuse such misaligned requests. Signed-off-by: Jan Kara <jack@suse.com> Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
parent
c5a37883f4
commit
2dbe549576
1 changed files with 3 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue