|
|
f49185 |
From 2c40c5a72b3cd0c4599bc84a7a8b09a496d46db3 Mon Sep 17 00:00:00 2001
|
|
|
f49185 |
From: Zorro Lang <zlang@redhat.com>
|
|
|
f49185 |
Date: Fri, 12 Feb 2021 17:23:05 -0500
|
|
|
f49185 |
Subject: [PATCH] mkfs: fix wrong inobtcount usage error output
|
|
|
f49185 |
|
|
|
f49185 |
When mkfs fails, it shows:
|
|
|
f49185 |
...
|
|
|
f49185 |
/* metadata */ [-m crc=0|1,finobt=0|1,uuid=xxx,rmapbt=0|1,reflink=0|1,\n\
|
|
|
f49185 |
inobtcnt=0|1,bigtime=0|1]\n\
|
|
|
f49185 |
...
|
|
|
f49185 |
|
|
|
f49185 |
The "inobtcnt=0|1" is wrong usage, it must be inobtcount, there's not
|
|
|
f49185 |
an alias. To avoid misadvice, fix it.
|
|
|
f49185 |
|
|
|
f49185 |
Signed-off-by: Zorro Lang <zlang@redhat.com>
|
|
|
f49185 |
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
|
|
|
f49185 |
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
|
|
|
f49185 |
---
|
|
|
f49185 |
|
|
|
f49185 |
mkfs/xfs_mkfs.c | 2 +-
|
|
|
f49185 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
f49185 |
|
|
|
f49185 |
diff --git a/mkfs/xfs_mkfs.c b/mkfs/xfs_mkfs.c
|
|
|
f49185 |
index 0c66255a..964299d3 100644
|
|
|
f49185 |
--- a/mkfs/xfs_mkfs.c
|
|
|
f49185 |
+++ b/mkfs/xfs_mkfs.c
|
|
|
f49185 |
@@ -928,7 +928,7 @@ usage( void )
|
|
|
f49185 |
fprintf(stderr, _("Usage: %s\n\
|
|
|
f49185 |
/* blocksize */ [-b size=num]\n\
|
|
|
f49185 |
/* metadata */ [-m crc=0|1,finobt=0|1,uuid=xxx,rmapbt=0|1,reflink=0|1,\n\
|
|
|
f49185 |
- inobtcnt=0|1,bigtime=0|1]\n\
|
|
|
f49185 |
+ inobtcount=0|1,bigtime=0|1]\n\
|
|
|
f49185 |
/* data subvol */ [-d agcount=n,agsize=n,file,name=xxx,size=num,\n\
|
|
|
f49185 |
(sunit=value,swidth=value|su=num,sw=num|noalign),\n\
|
|
|
f49185 |
sectsize=num\n\
|
|
|
f49185 |
--
|
|
|
f49185 |
2.27.0
|
|
|
f49185 |
|