fs: Add parent node of inode

N/A

Signed-off-by: zhouliang3 <zhouliang3@xiaomi.com>
Change-Id: I006c6172ced8edd47b9d4661880e04d3a4274854
This commit is contained in:
zhouliang3
2021-07-09 18:23:34 -03:00
committed by Gustavo Henrique Nihei
parent ee767021b3
commit b7653e2fae
4 changed files with 9 additions and 4 deletions
+1
View File
@@ -347,6 +347,7 @@ union inode_ops_u
struct inode
{
FAR struct inode *i_parent; /* Link to parent level inode */
FAR struct inode *i_peer; /* Link to same level inode */
FAR struct inode *i_child; /* Link to lower level inode */
int16_t i_crefs; /* References to inode */