From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Price Date: Fri, 25 May 2012 11:07:02 +0100 Subject: [Cluster-devel] [PATCH 1/3] gfs2-utils: Remove references to unlinked file tag Message-ID: <1337940424-20662-1-git-send-email-anprice@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Remove references to an obsolete unlinked tag file (or file tag). Signed-off-by: Andrew Price --- gfs2/libgfs2/libgfs2.h | 1 - gfs2/man/gfs2_jadd.8 | 3 --- gfs2/man/mkfs.gfs2.8 | 3 --- gfs2/mkfs/main_mkfs.c | 5 +---- 4 files changed, 1 insertions(+), 11 deletions(-) diff --git a/gfs2/libgfs2/libgfs2.h b/gfs2/libgfs2/libgfs2.h index e2a7e45..8ed08dd 100644 --- a/gfs2/libgfs2/libgfs2.h +++ b/gfs2/libgfs2/libgfs2.h @@ -255,7 +255,6 @@ struct gfs2_sbd { unsigned int bsize; /* The block size of the FS (in bytes) */ unsigned int jsize; /* Size of journals (in MB) */ unsigned int rgsize; /* Size of resource groups (in MB) */ - unsigned int utsize; /* Size of unlinked tag files (in MB) */ unsigned int qcsize; /* Size of quota change files (in MB) */ int debug; diff --git a/gfs2/man/gfs2_jadd.8 b/gfs2/man/gfs2_jadd.8 index a645fb7..5453edd 100644 --- a/gfs2/man/gfs2_jadd.8 +++ b/gfs2/man/gfs2_jadd.8 @@ -50,9 +50,6 @@ The number of new journals to add. \fB-q\fP Be quiet. Don't print anything. .TP -\fB-u MegaBytes\fP -Initial size of each journal's unlinked tag file -.TP \fB-V\fP Version. Print version information, then exit. . diff --git a/gfs2/man/mkfs.gfs2.8 b/gfs2/man/mkfs.gfs2.8 index 63348f8..d17e272 100644 --- a/gfs2/man/mkfs.gfs2.8 +++ b/gfs2/man/mkfs.gfs2.8 @@ -75,9 +75,6 @@ Fsname is a unique file system name used to distinguish this GFS2 file system from others created (1 to 16 characters). Lock_nolock doesn't use this field. .TP -\fB-u\fP \fIMegaBytes\fR -Initial size of each journal's unlinked tag file -.TP \fB-V\fP Print program version information, then exit. diff --git a/gfs2/mkfs/main_mkfs.c b/gfs2/mkfs/main_mkfs.c index 7c93621..e6b00a0 100644 --- a/gfs2/mkfs/main_mkfs.c +++ b/gfs2/mkfs/main_mkfs.c @@ -109,7 +109,7 @@ static void decode_arguments(int argc, char *argv[], struct gfs2_sbd *sdp) sdp->orig_fssize = 0; while (cont) { - optchar = getopt(argc, argv, "-b:c:DhJ:j:KOp:qr:t:u:VX"); + optchar = getopt(argc, argv, "-b:c:DhJ:j:KOp:qr:t:VX"); switch (optchar) { case 'b': @@ -166,9 +166,6 @@ static void decode_arguments(int argc, char *argv[], struct gfs2_sbd *sdp) strcpy(sdp->locktable, optarg); break; - case 'u': - break; - case 'V': printf("gfs2_mkfs %s (built %s %s)\n", VERSION, __DATE__, __TIME__); -- 1.7.7.6