fs/pesudofile: support pseudo-file operation

Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
This commit is contained in:
dongjiuzhu1
2023-07-31 22:22:58 -07:00
committed by Xiang Xiao
parent 917728bad9
commit 0f6d0eac52
6 changed files with 503 additions and 8 deletions
+1
View File
@@ -405,6 +405,7 @@ struct inode
uint16_t i_flags; /* Flags for inode */
union inode_ops_u u; /* Inode operations */
ino_t i_ino; /* Inode serial number */
size_t i_size; /* The size of per inode driver */
#ifdef CONFIG_PSEUDOFS_ATTRIBUTES
mode_t i_mode; /* Access mode flags */
uid_t i_owner; /* Owner */