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:
patacongo
2012-08-03 22:04:14 +00:00
parent d4c88180c3
commit 1e1e828a3d
11 changed files with 711 additions and 75 deletions
+5 -2
View File
@@ -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;