On Sat, 2018-02-10 at 08:46 +0800, Ming Lei wrote:
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.
Reviewed-by: Bart Van Assche bart.vanassche@wdc.com