git: sys/vfs/ext2fs: Add more accurate check for root inode

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


commit 7d478d3dfbb72f42d1fa01005d30a38e17ec6f2f
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Wed Feb 9 00:46:33 2022 +0900

    sys/vfs/ext2fs: Add more accurate check for root inode
    
    Check that root inode has links and is directory.
    
    taken from FreeBSD ced21728223016429242d1f7cd5e8a160c8a88cb

Summary of changes:
 sys/vfs/ext2fs/ext2_inode_cnv.c | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7d478d3dfbb72f42d1fa01005d30a38e17ec6f2f


-- 
DragonFly BSD source repository



More information about the Commits mailing list