btrfs: Remove root parameter from btrfs_insert_dir_item
authorLu Fengqi <lufq.fnst@cn.fujitsu.com>
Sat, 4 Aug 2018 13:10:57 +0000 (21:10 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 15 Oct 2018 15:23:25 +0000 (17:23 +0200)
commit684572df940181b070760bf027a6ded6b7b55c3d
tree2c2313d4bcee02cbf501a521d83bbb177e2fde23
parent3a58417486ca99a3bfef40e309f38adb45a5171d
btrfs: Remove root parameter from btrfs_insert_dir_item

All callers pass the root tree of dir, we can push that down to the
function itself.

Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/dir-item.c
fs/btrfs/inode.c
fs/btrfs/ioctl.c
fs/btrfs/transaction.c