3 more commits in main of changes to UFS/FFS superblock checks, possibly no longer rejecting your case

Mark Millard <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
Wed, 06 Jul 2022
	• git: f3f5368dfbef - main - Bug fix to UFS/FFS superblock integrity checks when reading a superblock. Kirk McKusick 
	• git: 9e1f44d044a5 - main - Bug fix to UFS/FFS superblock integrity checks when reading a superblock. Kirk McKusick 
	• git: 5bc926af9fd1 - main - Bug fix to UFS/FFS superblock integrity checks when reading a superblock. Kirk McKusick

One of the things changed is the test you have seen fail
that I recently replicated a failure via using just main
9aa02d5120a :

-	CHK(fs->fs_csaddr, !=, cgdmin(fs, 0), %jd);

It has been replaced with later code:

+	cgnum = dtog(fs, fs->fs_csaddr);
+	CHK(fs->fs_csaddr, <, cgdmin(fs, cgnum), %jd);

So there is a chance that the rejected file systems
will no longer be rejected.

I've got other builds going on and will will be a while
before I can update to have this material involved to
test it.

===
Mark Millard
marklmi at yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.