]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Btrfs: btrfs_ioctl_default_subvol: Revert back to toplevel subvolume when arg is 0
authorchandan <chandan@linux.vnet.ibm.com>
Fri, 13 Sep 2013 14:04:10 +0000 (19:34 +0530)
committerChris Mason <chris.mason@fusionio.com>
Sat, 21 Sep 2013 15:05:29 +0000 (11:05 -0400)
commit1cecf579d161527f610ef0da852dd6122e434a49
tree6dcba0af6eccf6e59401c1bc04bbc60da6990ed7
parenta0634be562c27ddee7c94bce4f765f8071244e07
Btrfs: btrfs_ioctl_default_subvol: Revert back to toplevel subvolume when arg is 0

This patch makes it possible to set BTRFS_FS_TREE_OBJECTID as the default
subvolume by passing a subvolume id of 0.

Signed-off-by: chandan <chandan@linux.vnet.ibm.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/ioctl.c