diff options
| author | Filipe Manana <[email protected]> | 2025-04-01 11:21:35 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2025-05-15 12:30:40 +0000 |
| commit | c757c024fc0ac8b7c5c08f72dfb6c1f51cc12de8 (patch) | |
| tree | c9179c3b8a0f8ef681829684d7bd49e52057900f | |
| parent | btrfs: fix the file offset calculation inside btrfs_decompress_buf2page() (diff) | |
| download | kernel-c757c024fc0ac8b7c5c08f72dfb6c1f51cc12de8.tar.gz kernel-c757c024fc0ac8b7c5c08f72dfb6c1f51cc12de8.zip | |
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 <[email protected]>
Reviewed-by: Qu Wenruo <[email protected]>
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
| -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 a9ecf10debd9..92f4d83594b6 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -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. |
