fs: Add fchstat and chstat callback into mountpt_operations

and implement all status related change function. the individual
file system change will provide in other upcoming patchset.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I8fde9db8eba9586e9c8da078b67e020c26623cf4
This commit is contained in:
Xiang Xiao
2021-07-09 13:43:26 +08:00
committed by Gustavo Henrique Nihei
parent 68a345e248
commit 307cc61893
27 changed files with 907 additions and 118 deletions
+3 -1
View File
@@ -106,6 +106,7 @@ const struct mountpt_operations romfs_operations =
NULL, /* sync */
romfs_dup, /* dup */
romfs_fstat, /* fstat */
NULL, /* fchstat */
NULL, /* truncate */
romfs_opendir, /* opendir */
@@ -121,7 +122,8 @@ const struct mountpt_operations romfs_operations =
NULL, /* mkdir */
NULL, /* rmdir */
NULL, /* rename */
romfs_stat /* stat */
romfs_stat, /* stat */
NULL /* chstat */
};
/****************************************************************************