btrfs: Remove extent_io_ops::split_extent_hook callback
authorNikolay Borisov <nborisov@suse.com>
Thu, 1 Nov 2018 12:09:53 +0000 (14:09 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Dec 2018 13:51:29 +0000 (14:51 +0100)
commitabbb55f4cd56dffb20ba7dd8dfc53154c79934f1
treec0ce69c4035be9e1468856bf7ef5de7314b3cfc7
parent5c848198aad3ad1c68309aa7002fa571a540568c
btrfs: Remove extent_io_ops::split_extent_hook callback

This is the counterpart to merge_extent_hook, similarly, it's used only
for data/freespace inodes so let's remove it, rename it and call it
directly where necessary. No functional changes.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/inode.c