diff options
author | Lu Fengqi <lufq.fnst@cn.fujitsu.com> | 2018-08-01 11:32:27 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:13:00 +0200 |
commit | ab9ce7d42bf66f0750a4ca4a228a2db238376afb (patch) | |
tree | 323f06a936bec590bf2b69ccfe56bc6588c2599a /fs/btrfs/ctree.h | |
parent | 9add29457ac124e846cde4b875c632edaa722c08 (diff) | |
download | linux-stable-ab9ce7d42bf66f0750a4ca4a228a2db238376afb.tar.gz linux-stable-ab9ce7d42bf66f0750a4ca4a228a2db238376afb.tar.bz2 linux-stable-ab9ce7d42bf66f0750a4ca4a228a2db238376afb.zip |
btrfs: Remove fs_info from btrfs_del_root
It can be referenced from the passed transaction handle.
Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.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 2e32584c635f..9ef47a171e2f 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -2993,7 +2993,7 @@ int btrfs_del_root_ref(struct btrfs_trans_handle *trans, u64 root_id, u64 ref_id, u64 dirid, u64 *sequence, const char *name, int name_len); int btrfs_del_root(struct btrfs_trans_handle *trans, - struct btrfs_fs_info *fs_info, const struct btrfs_key *key); + const struct btrfs_key *key); int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, const struct btrfs_key *key, struct btrfs_root_item *item); |