diff options
author | David Sterba <dsterba@suse.com> | 2019-03-20 11:54:13 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-03-23 17:01:45 +0100 |
commit | 42c9d0b524cf9af180dcb788a938cdc4c678e8cb (patch) | |
tree | 02ebed5c6fa269527a10eb80384a1ad1a17e990e /fs/btrfs/ctree.h | |
parent | c4ac75419826c7afc997bbe4da07ad6f963da22f (diff) | |
download | linux-42c9d0b524cf9af180dcb788a938cdc4c678e8cb.tar.gz linux-42c9d0b524cf9af180dcb788a938cdc4c678e8cb.tar.bz2 linux-42c9d0b524cf9af180dcb788a938cdc4c678e8cb.zip |
btrfs: simplify parameters of btrfs_set_disk_extent_flags
All callers pass extent buffer start and length so the extent buffer
itself should work fine.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 1cde3f1d8f20..ea5d0675465a 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -2482,7 +2482,7 @@ int btrfs_inc_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, int btrfs_dec_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct extent_buffer *buf, int full_backref); int btrfs_set_disk_extent_flags(struct btrfs_trans_handle *trans, - u64 bytenr, u64 num_bytes, u64 flags, + struct extent_buffer *eb, u64 flags, int level, int is_data); int btrfs_free_extent(struct btrfs_trans_handle *trans, struct btrfs_ref *ref); |