Re: [PATCH] Btrfs-progs: Enabled setting root subvolume with subvolid=0

2012-07-30 Thread Alexander Karbstein
Hello Liu, thanks, you are so right. I just got it exactly the wrong way (I read btrfs-progs-unstable and thought this must be the bleeding edge one ;-). I should have read your e-Mail before. I will revise it asap. But I have to let it wait for tomorrow... Gotta sleep now. Best Regards, Alex 2

Re: [PATCH] Btrfs-progs: Enabled setting root subvolume with subvolid=0

2012-07-30 Thread Liu Bo
On 07/31/2012 08:53 AM, Alexander Karbstein wrote: > The command btrfs subvolume set-default 0 /path/to/fs changed the > default subvolume to whatever subvolume was currently mounted on > /path/to/fs. This patch changes this behaviour to set the default > subvolume to BTRFS_FS_TREE_OBJECTID in cas

[PATCH] Btrfs-progs: Enabled setting root subvolume with subvolid=0

2012-07-30 Thread Alexander Karbstein
The command btrfs subvolume set-default 0 /path/to/fs changed the default subvolume to whatever subvolume was currently mounted on /path/to/fs. This patch changes this behaviour to set the default subvolume to BTRFS_FS_TREE_OBJECTID in case the user asks for subvolid=0 Signed-off-by: Alexander Kar