mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Modify FS initialization logic to handle AIO container initialization.
This commit is contained in:
+4
-4
@@ -170,7 +170,7 @@ static int _inode_compare(FAR const char *fname,
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Name: fs_initialize
|
||||
* Name: inode_initialize
|
||||
*
|
||||
* Description:
|
||||
* This is called from the OS initialization logic to configure the file
|
||||
@@ -178,10 +178,10 @@ static int _inode_compare(FAR const char *fname,
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
void fs_initialize(void)
|
||||
void inode_initialize(void)
|
||||
{
|
||||
/* Initialize the semaphore to one (to support one-at-
|
||||
* a-time access to the inode tree).
|
||||
/* Initialize the semaphore to one (to support one-at-a-time access to the
|
||||
* inode tree).
|
||||
*/
|
||||
|
||||
(void)sem_init(&g_inode_sem.sem, 0, 1);
|
||||
|
||||
@@ -129,6 +129,17 @@ EXTERN FAR struct inode *root_inode;
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
/* fs_inode.c ***************************************************************/
|
||||
/****************************************************************************
|
||||
* Name: inode_initialize
|
||||
*
|
||||
* Description:
|
||||
* This is called from the OS initialization logic to configure the file
|
||||
* system.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
void inode_initialize(void);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: inode_semtake
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user