rpmsgfs: set fs type to rpmsgfs when mount through rpmsgfs
Signed-off-by: guohao15 <guohao15@xiaomi.com>
This commit is contained in:
parent
a18e4e85e9
commit
c3791756b2
@ -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);
|
ret = rpmsgfs_client_statfs(fs->handle, fs->fs_root, buf);
|
||||||
|
buf->f_type = RPMSGFS_MAGIC;
|
||||||
|
|
||||||
nxmutex_unlock(&fs->fs_lock);
|
nxmutex_unlock(&fs->fs_lock);
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user