Rename P_OSREL_CK_CLYGRP to P_OSREL_CK_CYLGRP

This commit is contained in:
Scott Long 2017-11-17 13:12:20 +00:00
parent 6247019ec2
commit 7841fefb62
3 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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;
/*

View file

@ -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)