Btrfs: clean up btrfs_ordered_update_i_size
authorLiu Bo <bo.li.liu@oracle.com>
Tue, 13 Dec 2016 20:51:51 +0000 (12:51 -0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 14 Feb 2017 14:50:58 +0000 (15:50 +0100)
commit62c821a8e23ab7bdbc14841fafa3c90e3b057de7
tree24e9178cd48f426ea3b53358bdd19ea11ae75c47
parent5416034f7acf9ead993198dcfb1df7e0b0b8436a
Btrfs: clean up btrfs_ordered_update_i_size

Since we have a good helper entry_end, use it for ordered extent.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ whitespace reformatting ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ordered-data.c