Lines Matching refs:mnt_root
1663 struct vfsmount *mnt_root; in btrfs_mount() local
1681 mnt_root = vfs_kern_mount(&btrfs_root_fs_type, flags, device_name, data); in btrfs_mount()
1682 if (PTR_ERR_OR_ZERO(mnt_root) == -EBUSY) { in btrfs_mount()
1684 mnt_root = vfs_kern_mount(&btrfs_root_fs_type, in btrfs_mount()
1687 mnt_root = vfs_kern_mount(&btrfs_root_fs_type, in btrfs_mount()
1689 if (IS_ERR(mnt_root)) { in btrfs_mount()
1690 root = ERR_CAST(mnt_root); in btrfs_mount()
1695 down_write(&mnt_root->mnt_sb->s_umount); in btrfs_mount()
1696 error = btrfs_remount(mnt_root->mnt_sb, &flags, NULL); in btrfs_mount()
1697 up_write(&mnt_root->mnt_sb->s_umount); in btrfs_mount()
1700 mntput(mnt_root); in btrfs_mount()
1706 if (IS_ERR(mnt_root)) { in btrfs_mount()
1707 root = ERR_CAST(mnt_root); in btrfs_mount()
1713 root = mount_subvol(subvol_name, subvol_objectid, device_name, mnt_root); in btrfs_mount()