|
@@ -3310,7 +3310,7 @@ static long btrfs_ioctl_default_subvol(struct file *file, void __user *argp)
|
|
}
|
|
}
|
|
|
|
|
|
if (!objectid)
|
|
if (!objectid)
|
|
- objectid = root->root_key.objectid;
|
|
|
|
|
|
+ objectid = BTRFS_FS_TREE_OBJECTID;
|
|
|
|
|
|
location.objectid = objectid;
|
|
location.objectid = objectid;
|
|
location.type = BTRFS_ROOT_ITEM_KEY;
|
|
location.type = BTRFS_ROOT_ITEM_KEY;
|