-
Li RongQing authored
If offset is not zero and length is bigger than PAGE_SIZE, this will cause to out of boundary access to a page memory Fixes: 98cc093c ("block, THP: make block_device_operations.rw_page support THP") Co-developed-by:
Liang ZhiCheng <liangzhicheng@baidu.com> Signed-off-by:
Liang ZhiCheng <liangzhicheng@baidu.com> Signed-off-by:
Li RongQing <lirongqing@baidu.com> Reviewed-by:
Ira Weiny <ira.weiny@intel.com> Reviewed-by:
Jeff Moyer <jmoyer@redhat.com> Signed-off-by:
Dan Williams <dan.j.williams@intel.com>
9dc6488e