All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@sandeen.net>
To: linux-xfs@vger.kernel.org
Subject: [PATCH 08/10] xfs_repair: remove pre_65_beta option
Date: Thu, 29 Mar 2018 10:34:20 -0500	[thread overview]
Message-ID: <1522337662-26260-9-git-send-email-sandeen@sandeen.net> (raw)
In-Reply-To: <1522337662-26260-1-git-send-email-sandeen@sandeen.net>

Irix 6.5 was released 20 years ago.  Remove this option from
the code.  (nb: it's not present in the manpage.)

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
---
 repair/globals.h    |  1 -
 repair/xfs_repair.c | 11 -----------
 2 files changed, 12 deletions(-)

diff --git a/repair/globals.h b/repair/globals.h
index c7bbe6f..5192542 100644
--- a/repair/globals.h
+++ b/repair/globals.h
@@ -97,7 +97,6 @@ EXTERN int	dumpcore;		/* abort, not exit on fatal errs */
 EXTERN int	delete_attr_ok;		/* can clear attrs w/o clearing files */
 EXTERN int	force_geo;		/* can set geo on low confidence info */
 EXTERN int	assume_xfs;		/* assume we have an xfs fs */
-EXTERN int	pre_65_beta;		/* fs was mkfs'ed by a version earlier * than 6.5-beta */
 EXTERN char	*log_name;		/* Name of log device */
 EXTERN int	log_spec;		/* Log dev specified as option */
 EXTERN char	*rt_name;		/* Name of realtime device */
diff --git a/repair/xfs_repair.c b/repair/xfs_repair.c
index 3caf9bb..c2106e4 100644
--- a/repair/xfs_repair.c
+++ b/repair/xfs_repair.c
@@ -49,8 +49,6 @@
 static char *o_opts[] = {
 #define ASSUME_XFS	0
 	"assume_xfs",
-#define PRE_65_BETA	1
-	"fs_is_pre_65_beta",
 #define	IHASH_SIZE	2
 	"ihash",
 #define	BHASH_SIZE	3
@@ -207,7 +205,6 @@ process_args(int argc, char **argv)
 	sb_inoalignmt = 0;
 	sb_unit = 0;
 	sb_width = 0;
-	pre_65_beta = 0;
 	ag_stride = 0;
 	thread_count = 1;
 	report_interval = PROG_RPT_DEFAULT;
@@ -235,14 +232,6 @@ process_args(int argc, char **argv)
 						respec('o', o_opts, ASSUME_XFS);
 					assume_xfs = 1;
 					break;
-				case PRE_65_BETA:
-					if (val)
-						noval('o', o_opts, PRE_65_BETA);
-					if (pre_65_beta)
-						respec('o', o_opts,
-							PRE_65_BETA);
-					pre_65_beta = 1;
-					break;
 				case IHASH_SIZE:
 					do_warn(
 		_("-o ihash option has been removed and will be ignored\n"));
-- 
1.8.3.1


  parent reply	other threads:[~2018-03-29 15:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-29 15:34 [PATCH 0/10] xfsprogs: remove old cruft Eric Sandeen
2018-03-29 15:34 ` [PATCH 01/10] xfs_repair: remove unused fs_attributes_allowed Eric Sandeen
2018-03-29 15:34 ` [PATCH 02/10] xfs_repair: remove unused fs_attributes2_allowed Eric Sandeen
2018-03-29 15:34 ` [PATCH 03/10] xfs_repair: remove unused fs_has_extflgbit_allowed Eric Sandeen
2018-03-29 15:34 ` [PATCH 04/10] xfs_repair: remove unused fs_aligned_inodes_allowed Eric Sandeen
2018-03-29 15:34 ` [PATCH 05/10] xfs_repair: remove unused fs_sb_feature_bits_allowed Eric Sandeen
2018-03-29 15:34 ` [PATCH 06/10] xfs_repair: remove unused fs_has_extflgbit_allowed Eric Sandeen
2018-03-29 15:34 ` [PATCH 07/10] xfs_repair: remove unused fs_shared_allowed variable Eric Sandeen
2018-03-29 15:34 ` Eric Sandeen [this message]
2018-03-29 15:34 ` [PATCH 09/10] xfs_repair: test XFS_SB_VERSION_SHAREDBIT only once Eric Sandeen
2018-03-29 15:34 ` [PATCH 10/10] libxfs: warn about deprecation of irix, freebsd, darwin Eric Sandeen
2018-03-29 15:40 ` [PATCH 0/10] xfsprogs: remove old cruft Darrick J. Wong
2018-03-29 15:43 ` [PATCH 11/10] xfsprogs: remove unused delete_attr_ok Eric Sandeen
2018-03-29 15:53   ` Darrick J. Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1522337662-26260-9-git-send-email-sandeen@sandeen.net \
    --to=sandeen@sandeen.net \
    --cc=linux-xfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.