From: Lunaixsky Date: Sat, 3 May 2025 00:45:01 +0000 (+0100) Subject: fix: ext2 directory insertion; racing on inode create X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/commitdiff_plain/4cf445cb569be5f1f078ea27fd5d1b172402f44f?hp=4cf445cb569be5f1f078ea27fd5d1b172402f44f fix: ext2 directory insertion; racing on inode create use nesting lock for v_inode and v_dnode locking. hold the lock on the parent directory upon creating inode prevent contention across multiple process that partakes similar actions fix the edge case of dirent insertion with data block boundary crossing. fix the incorrect calculation between fsblock index and ext2 data block/inode index. new test case: fragfile - random file spammer ---