Btrfs: fix wrong argument for btrfs_lookup_ordered_range
authorLiu Bo <bo.li.liu@oracle.com>
Tue, 24 Jan 2017 23:58:51 +0000 (15:58 -0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 14 Feb 2017 14:50:59 +0000 (15:50 +0100)
commit9a9239acb465df1f6aab379c77befd5cde98c9df
tree15371c5973ab752e311dd4c1cdda30cc88b74ace
parenta7ceffbbbd0886f955f10a2ab1ad38ae42df359c
Btrfs: fix wrong argument for btrfs_lookup_ordered_range

Commit Btrfs: btrfs_page_mkwrite: Reserve space in sectorsized units"
(d0b7da88) did this, but btrfs_lookup_ordered_range expects a 'length'
rather than a 'page_end'.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c