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.c | |
parent | 9cdc51241090a36d3b7b4ff374fb18b764b3b3a4 (diff) | |
download | linux-6fc0ef687029760476e309aa85d437a47313eb08.tar.bz2 |
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.c')
-rw-r--r-- | fs/btrfs/extent_io.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index ded750eb90c4..d21082962565 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -428,7 +428,8 @@ static void clear_state_cb(struct extent_io_tree *tree, struct extent_state *state, unsigned *bits) { if (tree->ops && tree->ops->clear_bit_hook) - tree->ops->clear_bit_hook(tree->mapping->host, state, bits); + tree->ops->clear_bit_hook(BTRFS_I(tree->mapping->host), + state, bits); } static void set_state_bits(struct extent_io_tree *tree, |