diff options
Diffstat (limited to 'fs/btrfs/extent_io.c')
-rw-r--r-- | fs/btrfs/extent_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 25ce2d18e5b4..0bf7684207aa 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c | |||
@@ -340,7 +340,7 @@ static void clear_state_cb(struct extent_io_tree *tree, | |||
340 | struct extent_state *state, | 340 | struct extent_state *state, |
341 | unsigned long bits) | 341 | unsigned long bits) |
342 | { | 342 | { |
343 | if (tree->ops && tree->ops->set_bit_hook) { | 343 | if (tree->ops && tree->ops->clear_bit_hook) { |
344 | tree->ops->clear_bit_hook(tree->mapping->host, state->start, | 344 | tree->ops->clear_bit_hook(tree->mapping->host, state->start, |
345 | state->end, state->state, bits); | 345 | state->end, state->state, bits); |
346 | } | 346 | } |