From c3791756b288172f0cb64f4e9fd8764f189993a9 Mon Sep 17 00:00:00 2001 From: guohao15 Date: Fri, 8 Dec 2023 16:44:46 +0800 Subject: [PATCH] rpmsgfs: set fs type to rpmsgfs when mount through rpmsgfs Signed-off-by: guohao15 --- fs/rpmsgfs/rpmsgfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/rpmsgfs/rpmsgfs.c b/fs/rpmsgfs/rpmsgfs.c index ac8a6d52143..56431e8c934 100644 --- a/fs/rpmsgfs/rpmsgfs.c +++ b/fs/rpmsgfs/rpmsgfs.c @@ -1223,6 +1223,7 @@ static int rpmsgfs_statfs(FAR struct inode *mountpt, FAR struct statfs *buf) } ret = rpmsgfs_client_statfs(fs->handle, fs->fs_root, buf); + buf->f_type = RPMSGFS_MAGIC; nxmutex_unlock(&fs->fs_lock); return ret;