diff options
author | Lu Fengqi <lufq.fnst@cn.fujitsu.com> | 2018-08-01 05:32:25 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:13:00 +0200 |
commit | 4465c8b4229de50f17b6780677ce068b3582a55d (patch) | |
tree | a8abec53024cda5e95bde00e08ff55bdba8b8832 /fs/btrfs/dir-item.c | |
parent | btrfs: extent-tree: remove unused member walk_control::for_reloc (diff) | |
download | linux-4465c8b4229de50f17b6780677ce068b3582a55d.tar.xz linux-4465c8b4229de50f17b6780677ce068b3582a55d.zip |
btrfs: Remove fs_info from btrfs_insert_delayed_dir_index
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/dir-item.c')
-rw-r--r-- | fs/btrfs/dir-item.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/dir-item.c b/fs/btrfs/dir-item.c index 39e9766d1cbd..a678b07fcf01 100644 --- a/fs/btrfs/dir-item.c +++ b/fs/btrfs/dir-item.c @@ -160,8 +160,8 @@ second_insert: } btrfs_release_path(path); - ret2 = btrfs_insert_delayed_dir_index(trans, root->fs_info, name, - name_len, dir, &disk_key, type, index); + ret2 = btrfs_insert_delayed_dir_index(trans, name, name_len, dir, + &disk_key, type, index); out_free: btrfs_free_path(path); if (ret) |