[PATCH 08/10] xfs_repair: remove pre_65_beta option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
---
 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

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



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux