diff options
author | Josef Bacik <josef@toxicpanda.com> | 2022-09-09 17:53:39 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-09-26 12:28:04 +0200 |
commit | c07d1004c55cd081aae9334227eabc1588179a65 (patch) | |
tree | 988e381c2c213049127c863d0adef8dcd1822fe3 /fs/btrfs/inode.c | |
parent | btrfs: move extent io tree unrelated prototypes to their appropriate header (diff) | |
download | linux-dev-c07d1004c55cd081aae9334227eabc1588179a65.tar.xz linux-dev-c07d1004c55cd081aae9334227eabc1588179a65.zip |
btrfs: drop exclusive_bits from set_extent_bit
This is only ever set if we have EXTENT_LOCKED set, so simply push this
into the function itself and remove the function 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/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 8def3a67adb7..538b6a3a88ad 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -2815,7 +2815,7 @@ static int btrfs_find_new_delalloc_bytes(struct btrfs_inode *inode, ret = set_extent_bit(&inode->io_tree, search_start, search_start + em_len - 1, - EXTENT_DELALLOC_NEW, 0, NULL, cached_state, + EXTENT_DELALLOC_NEW, NULL, cached_state, GFP_NOFS, NULL); next: search_start = extent_map_end(em); @@ -4963,7 +4963,7 @@ again: if (only_release_metadata) set_extent_bit(&inode->io_tree, block_start, block_end, - EXTENT_NORESERVE, 0, NULL, NULL, GFP_NOFS, NULL); + EXTENT_NORESERVE, NULL, NULL, GFP_NOFS, NULL); out_unlock: if (ret) { |