diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-11-01 14:09:53 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-12-17 14:51:29 +0100 |
commit | abbb55f4cd56dffb20ba7dd8dfc53154c79934f1 (patch) | |
tree | c0ce69c4035be9e1468856bf7ef5de7314b3cfc7 /fs/btrfs/ctree.h | |
parent | 5c848198aad3ad1c68309aa7002fa571a540568c (diff) | |
download | lwn-abbb55f4cd56dffb20ba7dd8dfc53154c79934f1.tar.gz lwn-abbb55f4cd56dffb20ba7dd8dfc53154c79934f1.zip |
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>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index a75887d1fe3f..9025bab58e81 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -3156,6 +3156,8 @@ void btrfs_clear_delalloc_extent(struct inode *inode, struct extent_state *state, unsigned *bits); void btrfs_merge_delalloc_extent(struct inode *inode, struct extent_state *new, struct extent_state *other); +void btrfs_split_delalloc_extent(struct inode *inode, + struct extent_state *orig, u64 split); int btrfs_merge_bio_hook(struct page *page, unsigned long offset, size_t size, struct bio *bio, unsigned long bio_flags); |