Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Nov 2017 13:12:20 +0000 (UTC)
From:      Scott Long <scottl@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r325934 - in head: sbin/fsck_ffs sbin/newfs sys/sys
Message-ID:  <201711171312.vAHDCK34018777@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: scottl
Date: Fri Nov 17 13:12:20 2017
New Revision: 325934
URL: https://svnweb.freebsd.org/changeset/base/325934

Log:
  Rename P_OSREL_CK_CLYGRP to P_OSREL_CK_CYLGRP

Modified:
  head/sbin/fsck_ffs/pass5.c
  head/sbin/newfs/mkfs.c
  head/sys/sys/param.h

Modified: head/sbin/fsck_ffs/pass5.c
==============================================================================
--- head/sbin/fsck_ffs/pass5.c	Fri Nov 17 13:01:56 2017	(r325933)
+++ head/sbin/fsck_ffs/pass5.c	Fri Nov 17 13:12:20 2017	(r325934)
@@ -74,7 +74,7 @@ pass5(void)
 	newcg->cg_niblk = fs->fs_ipg;
 	if (preen == 0 && yflag == 0 && fs->fs_magic == FS_UFS2_MAGIC &&
 	    fswritefd != -1 && (fs->fs_metackhash & CK_CYLGRP) == 0 &&
-	    getosreldate() >= P_OSREL_CK_CLYGRP &&
+	    getosreldate() >= P_OSREL_CK_CYLGRP &&
 	    reply("ADD CYLINDER GROUP CHECKSUM PROTECTION") != 0) {
 		fs->fs_metackhash |= CK_CYLGRP;
 		rewritecg = 1;

Modified: head/sbin/newfs/mkfs.c
==============================================================================
--- head/sbin/newfs/mkfs.c	Fri Nov 17 13:01:56 2017	(r325933)
+++ head/sbin/newfs/mkfs.c	Fri Nov 17 13:12:20 2017	(r325934)
@@ -496,7 +496,7 @@ restart:
 	/*
 	 * Set flags for metadata that is being check-hashed.
 	 */
-	if (Oflag > 1 && getosreldate() >= P_OSREL_CK_CLYGRP)
+	if (Oflag > 1 && getosreldate() >= P_OSREL_CK_CYLGRP)
 		sblock.fs_metackhash = CK_CYLGRP;
 
 	/*

Modified: head/sys/sys/param.h
==============================================================================
--- head/sys/sys/param.h	Fri Nov 17 13:01:56 2017	(r325933)
+++ head/sys/sys/param.h	Fri Nov 17 13:12:20 2017	(r325934)
@@ -84,7 +84,7 @@
 #define	P_OSREL_SHUTDOWN_ENOTCONN	1100077
 #define	P_OSREL_MAP_GUARD		1200035
 #define	P_OSREL_WRFSBASE		1200041
-#define	P_OSREL_CK_CLYGRP		1200046
+#define	P_OSREL_CK_CYLGRP		1200046
 #define	P_OSREL_VMTOTAL64		1200054
 
 #define	P_OSREL_MAJOR(x)		((x) / 100000)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711171312.vAHDCK34018777>