[PATCH] xfstest/btrfs/001: fix the misuse of subvolume set-default

Josef Bacik jbacik at fusionio.com
Mon Sep 23 08:17:46 CDT 2013


On Mon, Sep 23, 2013 at 04:47:29PM +0800, Liu Bo wrote:
> The command is
> btrfs subvolume set-default <subvolid> <path>.
> 
> It uses @subvolid to control the default subvolume and
> @subvolid=0 has always been parsed into FS_TREE no matter
> what subvolume @path points to.
> 
> So in order to set a subvolume to the default one, we need
> to get the id of this subvolume first.
> 
> Also fix a typo:
> s/sbuvolid/subvolid/g
> 
> Signed-off-by: Liu Bo <bo.li.liu at oracle.com>

Sent a patch for this already.  Thanks,

Josef



More information about the xfs mailing list