mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 19:51:25 -04:00
btrfs: use clear_extent_bit() at try_release_extent_state()
Instead of using __clear_extent_bit() we can use clear_extent_bit() since we pass a NULL value for the changeset argument. Reviewed-by: Boris Burkov <boris@bur.io> Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
committed by
David Sterba
parent
af566bdaff
commit
c757c024fc
@@ -2647,7 +2647,7 @@ static bool try_release_extent_state(struct extent_io_tree *tree,
|
||||
* nodatasum, delalloc new and finishing ordered bits. The delalloc new
|
||||
* bit will be cleared by ordered extent completion.
|
||||
*/
|
||||
ret2 = __clear_extent_bit(tree, start, end, clear_bits, &cached_state, NULL);
|
||||
ret2 = clear_extent_bit(tree, start, end, clear_bits, &cached_state);
|
||||
/*
|
||||
* If clear_extent_bit failed for enomem reasons, we can't allow the
|
||||
* release to continue.
|
||||
|
||||
Reference in New Issue
Block a user