aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2015-12-15 16:38:22 +0100
committerJens Axboe <[email protected]>2016-03-15 14:10:29 -0700
commit5e4298be45e83ecdffaabb370eea9396889b07f1 (patch)
tree6b837a6a666337c8129b8d836a7ae48b50a9fc5d /lib/test-string_helpers.c
parentd436641439e0121d26b19d4268e9fb3ecd368d71 (diff)
brd: Fix discard request processing
Avoid that discard requests with size => PAGE_SIZE fail with -EIO. Refuse discard requests if the discard size is not a multiple of the page size. Fixes: 2dbe54957636 ("brd: Refuse improperly aligned discard requests") Signed-off-by: Bart Van Assche <[email protected]> Reviewed-by: Jan Kara <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Robert Elliot <[email protected]> Cc: stable <[email protected]> # v4.4+ Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions