Patchwork E2fsprogs: add missing usage for No_COW

login
register
mail settings
Submitter liubo
Date June 13, 2012, 7:47 a.m.
Message ID <1339573633-31023-1-git-send-email-liubo2009@cn.fujitsu.com>
Download mbox | patch
Permalink /patch/164556/
State Superseded
Headers show

Comments

liubo - June 13, 2012, 7:47 a.m.
Add the missing usage for No_COW since we've supported No_COW flag.

Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
---
 misc/chattr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Roman Mamedov - June 13, 2012, 8:38 a.m.
On Wed, 13 Jun 2012 15:47:13 +0800
Liu Bo <liubo2009@cn.fujitsu.com> wrote:

> Add the missing usage for No_COW since we've supported No_COW flag.
> 
> Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
> ---
>  misc/chattr.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/misc/chattr.c b/misc/chattr.c
> index 141ea6e..24254cc 100644
> --- a/misc/chattr.c
> +++ b/misc/chattr.c
> @@ -83,7 +83,7 @@ static unsigned long sf;
>  static void usage(void)
>  {
>  	fprintf(stderr,
> -		_("Usage: %s [-RVf] [-+=AacDdeijsSu] [-v version] files...\n"),
> +		_("Usage: %s [-RVf] [-+=AacDdeijsSuC] [-v version] files...\n"),
>  		program_name);
>  	exit(1);
>  }

These were sorted alphabetically so the better way would be to use AaCcDdeijsSu
Theodore Ts'o - June 14, 2012, 2:47 a.m.
On Wed, Jun 13, 2012 at 03:47:13PM +0800, Liu Bo wrote:
> Add the missing usage for No_COW since we've supported No_COW flag.
> 
> Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>

Applied, thanks.

						- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/misc/chattr.c b/misc/chattr.c
index 141ea6e..24254cc 100644
--- a/misc/chattr.c
+++ b/misc/chattr.c
@@ -83,7 +83,7 @@  static unsigned long sf;
 static void usage(void)
 {
 	fprintf(stderr,
-		_("Usage: %s [-RVf] [-+=AacDdeijsSu] [-v version] files...\n"),
+		_("Usage: %s [-RVf] [-+=AacDdeijsSuC] [-v version] files...\n"),
 		program_name);
 	exit(1);
 }