Fix reference count problem

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@258 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2007-05-27 19:10:40 +00:00
parent a0153a1ed2
commit 3f5d4be4a9
7 changed files with 73 additions and 17 deletions
+2 -1
View File
@@ -136,6 +136,7 @@ STATUS inode_remove(const char *path)
*/
node->i_flags |= FSNODEFLAG_DELETED;
return -EBUSY;
}
else
{
@@ -149,5 +150,5 @@ STATUS inode_remove(const char *path)
/* The node does not exist or it has references */
return ERROR;
return -ENOENT;
}