git: kernel: Improve handling of compatibility slice in disk_probe()
Aaron LI
aly at crater.dragonflybsd.org
Wed Feb 18 05:49:12 PST 2026
commit f66660c5ce92e1c78fe7a6165e69cf7e8c97f4b6
Author: Aaron LI <aly at aaronly.me>
Date: Thu May 15 09:43:44 2025 +0800
kernel: Improve handling of compatibility slice in disk_probe()
Use 'i == COMPATIBILITY_SLICE' instead of the more ambiguous
'ds_type == 0' to handle the compatibility slice. This currently only
happens with a newly created VN(4) disk.
See also: commit d7d5e114c3b157473c8a507cc94efdc09c5e0b15
Summary of changes:
sys/kern/subr_disk.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f66660c5ce92e1c78fe7a6165e69cf7e8c97f4b6
--
DragonFly BSD source repository
More information about the Commits
mailing list