git: sys/vfs/ext2fs: Add more accurate directory entries check

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Tue Feb 8 09:21:36 PST 2022


commit 2532d84a015ae37901f2c367db4d0c1ec99db80d
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Wed Feb 9 00:20:08 2022 +0900

    sys/vfs/ext2fs: Add more accurate directory entries check
    
    Rename ext2_dirbadentry() to ext2_check_direntry(). Add directory
    entry inode value check, and call ext2_check_direntry() in all cases.
    The dirchk sysctl is removed.
    
    taken from FreeBSD bb9f1ba4b55c1f566d59cc7c7d1d28dd37715984

Summary of changes:
 sys/vfs/ext2fs/ext2_lookup.c | 39 ++++++++++-----------------------------
 1 file changed, 10 insertions(+), 29 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2532d84a015ae37901f2c367db4d0c1ec99db80d


-- 
DragonFly BSD source repository


More information about the Commits mailing list