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

Liu Bo bo.li.liu at oracle.com
Mon Sep 23 09:37:56 CDT 2013


On Mon, Sep 23, 2013 at 09:17:46AM -0400, Josef Bacik wrote:
> 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,

oops, sorry I should have noticed that, any chance to fold the typo fix
into your patch?

-liubo



More information about the xfs mailing list