diff options
author | Ming Lei <[email protected]> | 2018-02-10 08:46:17 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2018-02-23 15:20:19 -0700 |
commit | 0bd1ed4860d0f5f836aa8371797689a3779d1bf5 (patch) | |
tree | 061d2a86451b27d9aff40d96cbb2effcbfb6b6c2 /tools/perf/scripts/python/stackcollapse.py | |
parent | 0f9da844d87796ac31b04e81ee95e155e9043132 (diff) |
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: <[email protected]>
Cc: Dmitry Monakhov <[email protected]>
Fixes: 351499a172c0 ("block: Invalidate cache on discard v2")
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions