git: DragonFly_RELEASE_6_4 kernel: Fix disk_probe() to find device by the same name as creation

Aaron LI aly at crater.dragonflybsd.org
Sat Feb 21 17:07:05 PST 2026


commit e387f2f0d5d699dd1283f4af8a6b42f07db6e8a2
Author: Aaron LI <aly at aaronly.me>
Date:   Tue Feb 17 16:44:38 2026 +0800

    kernel: Fix disk_probe() to find device by the same name as creation
    
    The name passed to devfs_find_device_by_name() previously did not check
    for DSO_DEVICEMAPPER, which might be different from the name passed to
    make_dev_covering().  Introduce the 'name_buf' to store the name with
    DSO_DEVICEMAPPER accounted, and pass it to both functions.

Summary of changes:
 sys/kern/subr_disk.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e387f2f0d5d699dd1283f4af8a6b42f07db6e8a2


-- 
DragonFly BSD source repository


More information about the Commits mailing list