mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
Fix minor typos in docs and comments.
This commit is contained in:
committed by
Gregory Nutt
parent
c1c36db37e
commit
46aaec7ba0
@@ -155,7 +155,7 @@ block can be converted to an absolute address in the in-memory CROMFS image
|
||||
by simply adding that offset to the well-known address of the volume header.
|
||||
|
||||
Each hard link, directory, and file node in the directory list includes
|
||||
such a "peer offset" to to the next node in the list. Each node is followed
|
||||
such a "peer offset" to the next node in the list. Each node is followed
|
||||
by the NUL-terminated name of the node. Each node also holds an additional
|
||||
offset. Directory nodes contain a "child offset". That is, the offset to
|
||||
the first entry in another singly linked list of nodes comprising the sub-
|
||||
|
||||
@@ -1659,7 +1659,7 @@ errout:
|
||||
* Name: smartfs_shrinkfile
|
||||
*
|
||||
* Description:
|
||||
* Shrink the size existing file to to the specified length
|
||||
* Shrink the size of an existing file to the specified length
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
+1
-1
@@ -263,7 +263,7 @@ next_subdir:
|
||||
*
|
||||
* Remove the old inode. Because we hold a reference count on the
|
||||
* inode, it will not be deleted now. It will be deleted when all of
|
||||
* the references to to the inode have been released (perhaps when
|
||||
* the references to the inode have been released (perhaps when
|
||||
* inode_release() is called in remove()). inode_remove() should return
|
||||
* -EBUSY to indicate that the inode was not deleted now.
|
||||
*/
|
||||
|
||||
+1
-1
@@ -199,7 +199,7 @@ int unlink(FAR const char *pathname)
|
||||
|
||||
/* Remove the old inode. Because we hold a reference count on the
|
||||
* inode, it will not be deleted now. It will be deleted when all
|
||||
* of the references to to the inode have been released (perhaps
|
||||
* of the references to the inode have been released (perhaps
|
||||
* when inode_release() is called below). inode_remove() will
|
||||
* return -EBUSY to indicate that the inode was not deleted now.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user