fix: 修复部分函数的爆栈问题 (#1172)

* fix:修复部分函数的爆栈问题

* feat(filesystem): 重构FAT文件系统重命名和移动文件逻辑

将rename_file_in_same_dir和move_file_to_other_dir函数重构为LockedFATInode的方法,优化代码结构。同时更新clippy配置,添加栈大小和数组大小阈值。

Signed-off-by: longjin <longjin@DragonOS.org>

---------

Signed-off-by: longjin <longjin@DragonOS.org>
Co-authored-by: longjin <longjin@DragonOS.org>
This commit is contained in:
DoL
2025-05-24 13:29:03 +08:00
committed by GitHub
parent 2a867f467e
commit e061e1b93d
9 changed files with 115 additions and 73 deletions

View File

@ -546,7 +546,7 @@ unsafe fn allocator_init() {
compiler_fence(Ordering::SeqCst);
mapper.make_current();
compiler_fence(Ordering::SeqCst);
debug!("New page table enabled");
//debug!("New page table enabled");
}
debug!("Successfully enabled new page table");
}