aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2024-03-11 20:49:57 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2024-03-11 20:50:48 +0000
commit9cfb9a34bf154b27d21f9e2dfe8d2704ab664ed4 (patch)
tree069ad742d71e8bdbd400c54cfb50b0ea55a616c5
parentc0d9fab3c45b3de19ec6c969bbd1d148a9e8a295 (diff)
downloadsrc-9cfb9a34bf154b27d21f9e2dfe8d2704ab664ed4.tar.gz
src-9cfb9a34bf154b27d21f9e2dfe8d2704ab664ed4.zip
Eliminate unnecessary UFS1 integrity checks.
This was missed in the cited cherry pick. This is a follow-on report to bug report 264450 (comments 21-33). Reported by: slb@sonnet.com Tested by: slb@sonnet.com PR: 264450 (cherry picked from commit b241767f8ef38f9ca7c109fe2fccd11ccbfaa4f0)
-rw-r--r--sys/ufs/ffs/ffs_subr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_subr.c b/sys/ufs/ffs/ffs_subr.c
index ad9128f06266..ca595ed5bd80 100644
--- a/sys/ufs/ffs/ffs_subr.c
+++ b/sys/ufs/ffs/ffs_subr.c
@@ -392,7 +392,6 @@ validate_sblock(struct fs *fs, int isaltsblk)
CHK(fs->fs_old_rotdelay, !=, 0, %jd);
CHK(fs->fs_old_rps, !=, 60, %jd);
CHK(fs->fs_old_nspf, !=, fs->fs_fsize / sectorsize, %jd);
- CHK(fs->fs_old_cpg, !=, 1, %jd);
CHK(fs->fs_old_interleave, !=, 1, %jd);
CHK(fs->fs_old_trackskew, !=, 0, %jd);
CHK(fs->fs_old_cpc, !=, 0, %jd);