diff options
author | Nikolay Borisov <nborisov@suse.com> | 2017-02-20 13:51:03 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-28 11:30:11 +0100 |
commit | 6fc0ef687029760476e309aa85d437a47313eb08 (patch) | |
tree | 106fe77be41bf0ef89cae25cbcf07af032ec04e6 /fs/btrfs/extent_io.h | |
parent | 9cdc51241090a36d3b7b4ff374fb18b764b3b3a4 (diff) | |
download | blackbird-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.h | 6 |
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); |