rpmsgfs: set fs type to rpmsgfs when mount through rpmsgfs

Signed-off-by: guohao15 <guohao15@xiaomi.com>
This commit is contained in:
guohao15 2023-12-08 16:44:46 +08:00 committed by Xiang Xiao
parent a18e4e85e9
commit c3791756b2
1 changed files with 1 additions and 0 deletions

View File

@ -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;