summaryrefslogtreecommitdiff
path: root/nuttx/fs/fs_inode.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-02-19 13:14:39 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-02-19 13:14:39 -0600
commitd4352a177b3e64a6ff2b26e189211d2fd0b7b731 (patch)
tree1555f4aafbe4aece6cdf536798cb5080ac2e3df9 /nuttx/fs/fs_inode.c
parent6b4b9ae6991355102b30f67a12af19a926105e74 (diff)
downloadpx4-nuttx-d4352a177b3e64a6ff2b26e189211d2fd0b7b731.tar.gz
px4-nuttx-d4352a177b3e64a6ff2b26e189211d2fd0b7b731.tar.bz2
px4-nuttx-d4352a177b3e64a6ff2b26e189211d2fd0b7b731.zip
Nodes in the pseudo-filesystem can now be renamed or moved within the pseduo-filesystem
Diffstat (limited to 'nuttx/fs/fs_inode.c')
-rw-r--r--nuttx/fs/fs_inode.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/nuttx/fs/fs_inode.c b/nuttx/fs/fs_inode.c
index afb88532c..913e58a5d 100644
--- a/nuttx/fs/fs_inode.c
+++ b/nuttx/fs/fs_inode.c
@@ -408,15 +408,15 @@ void inode_free(FAR struct inode *node)
* Name: inode_nextname
*
* Description:
- * Given a path with node names separated by '/', return the next node
- * name.
+ * Given a path with node names separated by '/', return the next path
+ * segment name.
*
****************************************************************************/
FAR const char *inode_nextname(FAR const char *name)
{
/* Search for the '/' delimiter or the NUL terminator at the end of the
- * string.
+ * path segment.
*/
while (*name && *name != '/')
@@ -435,4 +435,3 @@ FAR const char *inode_nextname(FAR const char *name)
return name;
}
-