Btrfs: split btrfs_extent_same
authorTimofey Titovets <nefelim4ag@gmail.com>
Wed, 2 May 2018 05:15:36 +0000 (08:15 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:24:03 +0000 (18:24 +0200)
commit3973909d926c093fd13d56953e591635d56ab7b6
treef0d5965febd0db272e847bc13f999422d87fcfea
parent399b0bbf5f680797d3599fa14f16706ffc470145
Btrfs: split btrfs_extent_same

Split btrfs_extent_same() to two parts where one is the main EXTENT_SAME
entry and a helper that can be repeatedly called on a range.  This will
be used in following patches.

Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ioctl.c