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
@@ -98,6 +98,7 @@ const struct mountpt_operations binfs_operations =
NULL, /* sync */
binfs_dup, /* dup */
binfs_fstat, /* fstat */
NULL, /* fchstat */
NULL, /* truncate */
binfs_opendir, /* opendir */
@@ -113,7 +114,8 @@ const struct mountpt_operations binfs_operations =
NULL, /* mkdir */
NULL, /* rmdir */
NULL, /* rename */
binfs_stat /* stat */
binfs_stat, /* stat */
NULL /* chstat */
};
/****************************************************************************