This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new a4ad9b7579 fs_gettype:add zipfs magic
a4ad9b7579 is described below
commit a4ad9b757964e445ae9e2b154d4ec214c7bf8046
Author: anjiahao <[email protected]>
AuthorDate: Mon Sep 25 10:06:34 2023 +0800
fs_gettype:add zipfs magic
Signed-off-by: anjiahao <[email protected]>
---
fs/mount/fs_gettype.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/fs/mount/fs_gettype.c b/fs/mount/fs_gettype.c
index b5894a698f..b5bfb35da7 100644
--- a/fs/mount/fs_gettype.c
+++ b/fs/mount/fs_gettype.c
@@ -147,6 +147,12 @@ FAR const char *fs_gettype(FAR struct statfs *statbuf)
break;
#endif
+#ifdef CONFIG_FS_ZIPFS
+ case ZIPFS_MAGIC:
+ fstype = "zipfs";
+ break;
+#endif
+
default:
fstype = "Unrecognized";
break;