summaryrefslogtreecommitdiff
path: root/fs/btrfs/transaction.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-09-10 00:53:40 +0300
committerDavid Sterba <dsterba@suse.com>2022-09-26 13:28:04 +0300
commitdbbf49928f2eb118036766fae503be1314620cce (patch)
tree211634eea727190608dfd51f4ab0be0689d9751f /fs/btrfs/transaction.c
parentc07d1004c55cd081aae9334227eabc1588179a65 (diff)
downloadlinux-dbbf49928f2eb118036766fae503be1314620cce.tar.xz
btrfs: remove the wake argument from clear_extent_bits
This is only used in the case that we are clearing EXTENT_LOCKED, so infer this value from the bits passed in instead of taking it as an argument. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r--fs/btrfs/transaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c
index 9d7563df81a0..83f3d4b89faa 100644
--- a/fs/btrfs/transaction.c
+++ b/fs/btrfs/transaction.c
@@ -1116,7 +1116,7 @@ static int __btrfs_wait_marked_extents(struct btrfs_fs_info *fs_info,
* it's safe to do it (through extent_io_tree_release()).
*/
err = clear_extent_bit(dirty_pages, start, end,
- EXTENT_NEED_WAIT, 0, 0, &cached_state);
+ EXTENT_NEED_WAIT, 0, &cached_state);
if (err == -ENOMEM)
err = 0;
if (!err)