nuttx/fs:Rename node with inode.

In ./fs/inode directory, the variable name FAR struct inode *node is named inconsistently, with some using node and others using inode. To facilitate understanding, we will standardize the naming to FAR struct inode *inode.

Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
This commit is contained in:
cuiziwei
2024-10-08 19:26:59 +08:00
committed by Xiang Xiao
parent ecc2d473e3
commit e98d018265
8 changed files with 90 additions and 90 deletions
+3 -3
View File
@@ -61,12 +61,12 @@ int inode_find(FAR struct inode_search_s *desc)
{
/* Found it */
FAR struct inode *node = desc->node;
DEBUGASSERT(node != NULL);
FAR struct inode *inode = desc->node;
DEBUGASSERT(inode != NULL);
/* Increment the reference count on the inode */
atomic_fetch_add(&node->i_crefs, 1);
atomic_fetch_add(&inode->i_crefs, 1);
}
inode_unlock();