ceph: pass inclusive lend parameter to filemap_write_and_wait_range()
authorzhengbin <zhengbin13@huawei.com>
Fri, 1 Feb 2019 11:19:15 +0000 (11:19 +0000)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 5 Mar 2019 17:55:17 +0000 (18:55 +0100)
commite450f4d1a5d633d60a7384b54dea3c89037d41b1
tree2d4ec6a2955aef0d844ae59249d91080fbd0d67d
parent0c93e1b7a26b418247218d08a6d0b95d61c9c415
ceph: pass inclusive lend parameter to filemap_write_and_wait_range()

The 'lend' parameter of filemap_write_and_wait_range is required to be
inclusive, so follow the rule. Same for invalidate_inode_pages2_range.

Signed-off-by: zhengbin <zhengbin13@huawei.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/file.c