| To: | Liu Bo <bo.li.liu@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] xfstest/btrfs/001: fix the misuse of subvolume set-default |
| From: | Josef Bacik <jbacik@xxxxxxxxxxxx> |
| Date: | Mon, 23 Sep 2013 09:17:46 -0400 |
| Cc: | <linux-btrfs@xxxxxxxxxxxxxxx>, <xfs@xxxxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/simple; d=fusionio.com; s=default; t=1379942269; bh=I6JK1Id78lQl7I4qm/SOrIobWI62g3Tj0/jZeK0ZJEA=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=N+PoPzq0q7gjLWdYNSIXw1fpCportEGsy+eO5t0FIPUNOvZILyB0I8MMrKisDExlc hDFHWBng6ojRPiSrc7RgriJq0I72AEu2s1XD8X0FNJ9TUetVnvQxaHuPZlkJEP4OMy 3sDM0GvbA78x8bSL7GCoQafuyvuetFMBi9khN2g8= |
| In-reply-to: | <1379926049-22135-1-git-send-email-bo.li.liu@xxxxxxxxxx> |
| References: | <1379926049-22135-1-git-send-email-bo.li.liu@xxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2011-07-01) |
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@xxxxxxxxxx> Sent a patch for this already. Thanks, Josef |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: xfsprogs: update version for 3.2.0-alpha1, Christoph Hellwig |
|---|---|
| Next by Date: | Re: [PATCH] xfs_check: fix test for too-high level in v2 dir node, Mark Tinguely |
| Previous by Thread: | [PATCH] xfstest/btrfs/001: fix the misuse of subvolume set-default, Liu Bo |
| Next by Thread: | Re: [PATCH] xfstest/btrfs/001: fix the misuse of subvolume set-default, Liu Bo |
| Indexes: | [Date] [Thread] [Top] [All Lists] |