From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Sterba Subject: Re: [PATCH] Btrfs-progs: added btrfs filesystem label [label] [path] support V2 Date: Fri, 2 Sep 2011 14:52:08 +0200 Message-ID: <20110902125208.GF11678@ds.suse.cz> References: <4E5F47C7.3030803@oracle.com> <4E5F7216.7040909@oracle.com> Reply-To: dsterba@suse.cz Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-btrfs@vger.kernel.org, Hugo Mills , chris.mason@oracle.com To: Jeff Liu Return-path: In-Reply-To: <4E5F7216.7040909@oracle.com> List-ID: Hi, are you aware that there is a label support already? Though only for unmounted system, but please have a look at these patches: https://patchwork.kernel.org/patch/381141/ https://patchwork.kernel.org/patch/842602/ and the patches are part of Hugo's integration for a long time, rather check latest versions so you do not duplicate work. On Thu, Sep 01, 2011 at 07:52:54PM +0800, Jeff Liu wrote: > Revise the patch according to kernel side change. Leave original commit message. If you want to document changes between revised patch version put them ... > > Signed-off-by: Jie Liu > > --- ... here. Git will ignore them when applying the message. HTH, david > btrfs.c | 7 +++---- > btrfs_cmds.c | 34 ++++++++++++++++++++++++++++++++++ > btrfs_cmds.h | 1 + > ctree.h | 4 ++++ > ioctl.h | 2 ++ > mkfs.c | 19 ------------------- > utils.c | 18 ++++++++++++++++++ > utils.h | 1 + > 8 files changed, 63 insertions(+), 23 deletions(-) > > diff --git a/btrfs.c b/btrfs.c > index 46314cf..6d414f1 100644 > --- a/btrfs.c > +++ b/btrfs.c > @@ -108,11 +108,10 @@ static struct Command commands[] = { > "device delete", " [..] \n" > "Remove a device from a filesystem." > }, > - /* coming soon > - { 2, "filesystem label", "