mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +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
@@ -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 */
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user