summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.h
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2017-02-20 13:51:03 +0200
committerDavid Sterba <dsterba@suse.com>2017-02-28 11:30:11 +0100
commit6fc0ef687029760476e309aa85d437a47313eb08 (patch)
tree106fe77be41bf0ef89cae25cbcf07af032ec04e6 /fs/btrfs/extent_io.h
parent9cdc51241090a36d3b7b4ff374fb18b764b3b3a4 (diff)
downloadblackbird-obmc-linux-6fc0ef687029760476e309aa85d437a47313eb08.tar.gz
blackbird-obmc-linux-6fc0ef687029760476e309aa85d437a47313eb08.zip
btrfs: Make btrfs_clear_bit_hook take btrfs_inode
Signed-off-by: Nikolay Borisov <nborisov@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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h
index 345fc33f843d..cd8b3dd6948d 100644
--- a/fs/btrfs/extent_io.h
+++ b/fs/btrfs/extent_io.h
@@ -84,6 +84,7 @@ extern void le_bitmap_clear(u8 *map, unsigned int start, int len);
struct extent_state;
struct btrfs_root;
+struct btrfs_inode;
struct btrfs_io_bio;
struct io_failure_record;
@@ -107,8 +108,9 @@ struct extent_io_ops {
struct extent_state *state, int uptodate);
void (*set_bit_hook)(struct inode *inode, struct extent_state *state,
unsigned *bits);
- void (*clear_bit_hook)(struct inode *inode, struct extent_state *state,
- unsigned *bits);
+ void (*clear_bit_hook)(struct btrfs_inode *inode,
+ struct extent_state *state,
+ unsigned *bits);
void (*merge_extent_hook)(struct inode *inode,
struct extent_state *new,
struct extent_state *other);
OpenPOWER on IntegriCloud