mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
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:
committed by
Gustavo Henrique Nihei
parent
68a345e248
commit
307cc61893
+3
-1
@@ -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 */
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user