]> git.hungrycats.org Git - linux/commit
btrfs: move fs root init stuff into btrfs_init_fs_root
authorJosef Bacik <josef@toxicpanda.com>
Wed, 20 Nov 2019 14:13:23 +0000 (06:13 -0800)
committerJosef Bacik <josef@toxicpanda.com>
Fri, 6 Dec 2019 16:34:48 +0000 (08:34 -0800)
commitde169dc6c3a8784534b8960e87c1ca4e8ec0d8bb
tree2613795bb23e614240542f83c8f49b0a4665e0db
parentd6fbac9bb8a184d4d4988f9fb4611b5317e75f84
btrfs: move fs root init stuff into btrfs_init_fs_root

We have a helper for reading fs roots that just reads the fs root off
the disk and then sets REF_COWS and init's the inheritable flags.  Move
this into btrfs_init_fs_root so we can later get rid of this helper and
consolidate all of the fs root reading into one helper.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
fs/btrfs/disk-io.c