diff options
author | David Sterba <dsterba@suse.com> | 2019-03-20 11:43:36 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-04-29 19:02:51 +0200 |
commit | f5c8daa5b2ae6de4baa18a95002271cd7f90be90 (patch) | |
tree | 9e9762b13a081caaf206cd501a51ebacedd2ec25 /fs/btrfs/extent-tree.c | |
parent | c6e340bc1c9e3411c40aafca4c69b989530c9347 (diff) | |
download | lwn-f5c8daa5b2ae6de4baa18a95002271cd7f90be90.tar.gz lwn-f5c8daa5b2ae6de4baa18a95002271cd7f90be90.zip |
btrfs: remove unused parameter fs_info from btrfs_set_disk_extent_flags
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 1eec1123660e..fa09a83a6954 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -2933,7 +2933,6 @@ out: } int btrfs_set_disk_extent_flags(struct btrfs_trans_handle *trans, - struct btrfs_fs_info *fs_info, u64 bytenr, u64 num_bytes, u64 flags, int level, int is_data) { @@ -8804,7 +8803,7 @@ static noinline int walk_down_proc(struct btrfs_trans_handle *trans, BUG_ON(ret); /* -ENOMEM */ ret = btrfs_dec_ref(trans, root, eb, 0); BUG_ON(ret); /* -ENOMEM */ - ret = btrfs_set_disk_extent_flags(trans, fs_info, eb->start, + ret = btrfs_set_disk_extent_flags(trans, eb->start, eb->len, flag, btrfs_header_level(eb), 0); BUG_ON(ret); /* -ENOMEM */ |