summaryrefslogtreecommitdiffstats
path: root/block/kyber-iosched.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2018-02-10 08:46:17 +0800
committerJens Axboe <axboe@kernel.dk>2018-02-23 15:20:19 -0700
commit0bd1ed4860d0f5f836aa8371797689a3779d1bf5 (patch)
tree061d2a86451b27d9aff40d96cbb2effcbfb6b6c2 /block/kyber-iosched.c
parent0f9da844d87796ac31b04e81ee95e155e9043132 (diff)
downloadlinux-0-day-0bd1ed4860d0f5f836aa8371797689a3779d1bf5.tar.gz
linux-0-day-0bd1ed4860d0f5f836aa8371797689a3779d1bf5.tar.xz
block: pass inclusive 'lend' parameter to truncate_inode_pages_range
The 'lend' parameter of truncate_inode_pages_range is required to be inclusive, so follow the rule. This patch fixes one memory corruption triggered by discard. Cc: <stable@vger.kernel.org> Cc: Dmitry Monakhov <dmonakhov@openvz.org> Fixes: 351499a172c0 ("block: Invalidate cache on discard v2") Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/kyber-iosched.c')
0 files changed, 0 insertions, 0 deletions