aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorLu Fengqi <lufq.fnst@cn.fujitsu.com>2018-08-01 11:32:27 +0800
committerDavid Sterba <dsterba@suse.com>2018-08-06 13:13:00 +0200
commitab9ce7d42bf66f0750a4ca4a228a2db238376afb (patch)
tree323f06a936bec590bf2b69ccfe56bc6588c2599a /fs/btrfs/ctree.h
parentbtrfs: Remove fs_info from btrfs_delete_delayed_dir_index (diff)
downloadlinux-dev-ab9ce7d42bf66f0750a4ca4a228a2db238376afb.tar.xz
linux-dev-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.h2
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);