fix missing locks in the vfs subsystem
authorLunaixsky <lunaixsky@qq.com>
Sun, 4 May 2025 18:23:54 +0000 (19:23 +0100)
committerLunaixsky <lunaixsky@qq.com>
Sun, 4 May 2025 18:23:54 +0000 (19:23 +0100)
commit59e84afc11bdd4284875371762b75742d8f0cbd9
tree3a766f21a2028002a090551423c1f028ed46d562
parent130d1cf10ae76844c1dfe5002c741b82a53244a5
fix missing locks in the vfs subsystem

* add locks to dnode and inode cache
* add locks to fdtable for resolving inter-threads contentions
lunaix-os/includes/lunaix/ds/rwlock.h
lunaix-os/includes/lunaix/ds/spinlock.h
lunaix-os/includes/lunaix/fs.h
lunaix-os/kernel/fs/mount.c
lunaix-os/kernel/fs/vfs.c
lunaix-os/kernel/process/fork.c