git: DragonFly_RELEASE_6_4 sys/vfs/hammer2: Remove KKASSERT expecting path to start with "/dev/"

Aaron LI aly at crater.dragonflybsd.org
Fri Sep 15 17:26:34 PDT 2023


commit f87c83120fefcefa77fd2539ea3eb63a6f5cf7d8
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Sat Apr 1 00:04:12 2023 -0700

    sys/vfs/hammer2: Remove KKASSERT expecting path to start with "/dev/"
    
    Unlike Linux, mount(8) variants don't support mounting regular files,
    so devvp initialization expects a devvp path to start with "/dev/",
    but let vn_isdisk() handle error without KKASSERT here.
    
    aly: Fix bug #3358: avoid panic in mounting a non-existing HAMMER2 path.

Summary of changes:
 sys/vfs/hammer2/hammer2_ondisk.c | 1 -
 1 file changed, 1 deletion(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list