!61 Fix Qemu target build when LOSCFG_COMPILE_DEBUG is enabled
Merge pull request !61 from likailong/master
This commit is contained in:
commit
b4a1cf6d54
|
@ -49,8 +49,10 @@ void los_vfs_init(void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef LOSCFG_FS_FAT_DISK
|
||||||
spin_lock_init(&g_diskSpinlock);
|
spin_lock_init(&g_diskSpinlock);
|
||||||
spin_lock_init(&g_diskFatBlockSpinlock);
|
spin_lock_init(&g_diskFatBlockSpinlock);
|
||||||
|
#endif
|
||||||
files_initlist(&tg_filelist);
|
files_initlist(&tg_filelist);
|
||||||
fs_initialize();
|
fs_initialize();
|
||||||
if ((err = inode_reserve("/", &g_root_inode)) < 0) {
|
if ((err = inode_reserve("/", &g_root_inode)) < 0) {
|
||||||
|
|
Loading…
Reference in New Issue