[Bug 264450] ufs: Partition recognized on 12.3 not recognized on CURRENT (2573e6ced996): Cannot find file system superblock .. Invalid fstype: Invalid argument
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 11 Jun 2022 18:06:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264450
--- Comment #15 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=800a53b445e7eb113ba193b1ac98631299178529
commit 800a53b445e7eb113ba193b1ac98631299178529
Author: Kirk McKusick <mckusick@FreeBSD.org>
AuthorDate: 2022-06-11 18:04:19 +0000
Commit: Kirk McKusick <mckusick@FreeBSD.org>
CommitDate: 2022-06-11 18:05:14 +0000
Bug fix to UFS/FFS superblock integrity checks when reading a superblock.
One of the checks was that the cylinder group size (fs_cgsize)
matched that calculated by CGSIZE(). The value calculated by CGSIZE()
has changed over time as the filesystem has evolved. Thus comparing
the value of CGSIZE() of the current generation filesystem may not
match the size as computed by CGSIZE() that was in effect at the
time an older filesystem was created. Therefore the check for
fs_cgsize is changed to simply ensure that it is not larger than
the filesystem blocksize (fs_bsize).
Reported by: Martin Birgmeier
Tested by: Martin Birgmeier
MFC after: 1 month (with 076002f24d35)
PR: 264450
Differential Revision: https://reviews.freebsd.org/D35219
sys/ufs/ffs/ffs_subr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.