diff options
author | 2015-12-15 16:38:22 +0100 | |
---|---|---|
committer | 2016-03-15 14:10:29 -0700 | |
commit | 5e4298be45e83ecdffaabb370eea9396889b07f1 (patch) | |
tree | 6b837a6a666337c8129b8d836a7ae48b50a9fc5d /tools/perf/scripts/python/stackcollapse.py | |
parent | cpqarray: remove it from the kernel (diff) | |
download | linux-dev-5e4298be45e83ecdffaabb370eea9396889b07f1.tar.xz linux-dev-5e4298be45e83ecdffaabb370eea9396889b07f1.zip |
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 <bart.vanassche@sandisk.com>
Reviewed-by: Jan Kara <jack@suse.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Robert Elliot <elliott@hp.com>
Cc: stable <stable@vger.kernel.org> # v4.4+
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions