mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Improve capability to traverse inodes in the NuttX psuedo-filesystem; now returns statfs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5005 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+5
-2
@@ -105,11 +105,14 @@ static void inode_unlink(struct inode *node,
|
||||
/****************************************************************************
|
||||
* Name: inode_remove
|
||||
*
|
||||
* NOTE: Caller must hold the inode semaphore
|
||||
* Description:
|
||||
* Remove a node from the in-memory, inode tree
|
||||
*
|
||||
* NOTE: Caller must hold the inode semaphore
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int inode_remove(const char *path)
|
||||
int inode_remove(FAR const char *path)
|
||||
{
|
||||
const char *name = path;
|
||||
FAR struct inode *node;
|
||||
|
||||
Reference in New Issue
Block a user