mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
Run all .c and .h files in previous commits through nxstyle.
This commit is contained in:
+2
-2
@@ -488,8 +488,8 @@ int rename(FAR const char *oldpath, FAR const char *newpath)
|
||||
FAR struct inode *oldinode;
|
||||
int ret;
|
||||
|
||||
/* Ignore paths that are interpreted as the root directory which has no name
|
||||
* and cannot be moved
|
||||
/* Ignore paths that are interpreted as the root directory which has no
|
||||
* name and cannot be moved
|
||||
*/
|
||||
|
||||
if (!oldpath || *oldpath == '\0' || oldpath[0] != '/' ||
|
||||
|
||||
+3
-3
@@ -138,9 +138,9 @@ int rmdir(FAR const char *pathname)
|
||||
}
|
||||
|
||||
/* Remove the inode. NOTE: Because we hold a reference count on the
|
||||
* inode, it will not be deleted now. But probably when inode_release()
|
||||
* is called below. inode_remove should return -EBUSY to indicate that
|
||||
* the inode was not deleted now.
|
||||
* inode, it will not be deleted now. But probably when
|
||||
* inode_release() is called below. inode_remove should return
|
||||
* -EBUSY to indicate that the inode was not deleted now.
|
||||
*/
|
||||
|
||||
inode_semtake();
|
||||
|
||||
Reference in New Issue
Block a user