git: ext2fs: sync FreeBSD changes except large sectorsize disks support

Aaron LI aly at crater.dragonflybsd.org
Fri Oct 23 06:19:04 PDT 2026


commit 3f770500aa2ffcc5cf4a36f7de9701a45e982ebf
Author: Yusuf Khan <yusisamerican at gmail.com>
Date:   Tue Aug 5 15:22:04 2025 -0500

    ext2fs: sync FreeBSD changes except large sectorsize disks support
    
    Patches synced in from FreeBSD:
    
    - ext2fs: 'struct ufid': Re-order fields and unpack
    - ext2fs: Fix the size of struct ufid and add a static assert
    - Do not panic in case of corrupted directory
    - Add root directory entry check.
    - Fix block bitmap end position computation
    - Fix vop_readdir's ncookies handling in UFS and EXT2.
    
    GitHub-PR: https://github.com/DragonFlyBSD/DragonFlyBSD/pull/31
    Signed-off-by: Yusuf <yusisamerican at gmail.com>

Summary of changes:
 sys/vfs/ext2fs/ext2_alloc.c  |  2 +-
 sys/vfs/ext2fs/ext2_lookup.c | 23 +++++++++++++----------
 sys/vfs/ext2fs/ext2_vfsops.c |  2 ++
 sys/vfs/ext2fs/ext2_vnops.c  |  9 +++++++++
 sys/vfs/ext2fs/inode.h       |  8 ++++----
 5 files changed, 29 insertions(+), 15 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3f770500aa2ffcc5cf4a36f7de9701a45e982ebf


-- 
DragonFly BSD source repository


More information about the Commits mailing list