btrfs: remove new_dirid argument from btrfs_create_subvol_root
authorNikolay Borisov <nborisov@suse.com>
Mon, 7 Dec 2020 15:32:37 +0000 (17:32 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 8 Feb 2021 21:58:50 +0000 (22:58 +0100)
commit69948022c9261a87c3c256bfa21c132f5099c690
treebaa0bad258e246c43642333e0230a2f3641cca8d
parent23125104d8485505cd19581025a3d6fc14e9945a
btrfs: remove new_dirid argument from btrfs_create_subvol_root

It's no longer used. While at it also remove new_dirid in create_subvol
as it's used in a single place and open code it. No functional changes.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/inode.c
fs/btrfs/ioctl.c