HardenedBSD/sys/dev/md
Konstantin Belousov 4bf34c597c md(4): always trim the last partial sector
Do it also for the preloaded disk, in addition to the dynamically
configured device.  This is needed to avoid geom checking alignment and
panicing on read of the last sector, e.g. for partition schemes and
label tasting.

PR:	281978
Reported by:	bz
Reviewed by:	bz, markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D47102
2024-10-14 11:08:21 +03:00
..
embedfs.S
md.c md(4): always trim the last partial sector 2024-10-14 11:08:21 +03:00