mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-28 03:43:23 +00:00
Rename systree
to aster-systree
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
f720c05706
commit
54bd64269b
@ -20,7 +20,7 @@ pub fn singleton() -> &'static Arc<SysFs> {
|
||||
|
||||
/// Initializes the SysFs singleton.
|
||||
/// Ensures that the singleton is created by calling it.
|
||||
/// Should be called during kernel filesystem initialization, *after* systree::init().
|
||||
/// Should be called during kernel filesystem initialization, *after* aster_systree::init().
|
||||
pub fn init() {
|
||||
// Ensure systree is initialized first. This should be handled by the kernel's init order.
|
||||
SYSFS_SINGLETON.call_once(|| SysFs::new());
|
||||
|
Reference in New Issue
Block a user