summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.h
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-11-01 13:09:51 +0100
committerDavid Sterba <dsterba@suse.com>2018-12-17 14:51:28 +0100
commita36bb5f9a90c9bab05b7084d21718450e8067fb0 (patch)
treed3b0308eeb9910ba0c251a5e7e1cd3a96fe6e3c5 /fs/btrfs/extent_io.h
parentbtrfs: Remove extent_io_ops::set_bit_hook extent_io callback (diff)
downloadlinux-a36bb5f9a90c9bab05b7084d21718450e8067fb0.tar.xz
linux-a36bb5f9a90c9bab05b7084d21718450e8067fb0.zip
btrfs: Remove extent_io_ops::clear_bit_hook callback
This is the counterpart to ex-set_bit_hook (now btrfs_set_delalloc_extent), similar to what was done before remove clear_bit_hook and rename the function. 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/extent_io.h')
-rw-r--r--fs/btrfs/extent_io.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h
index b3235d46b5c3..a3a3302f3625 100644
--- a/fs/btrfs/extent_io.h
+++ b/fs/btrfs/extent_io.h
@@ -106,9 +106,6 @@ struct extent_io_ops {
/*
* Optional hooks, called if the pointer is not NULL
*/
- void (*clear_bit_hook)(void *private_data,
- struct extent_state *state,
- unsigned *bits);
void (*merge_extent_hook)(void *private_data,
struct extent_state *new,
struct extent_state *other);