mirror of
https://github.com/apache/nuttx.git
synced 2026-09-24 00:42:03 +08:00
fs/vfs: fix compile break when enable PSEUDOFS_FILE
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
This commit is contained in:
@@ -348,6 +348,7 @@ static int pseudofile_munmap(FAR struct task_group_s *group,
|
||||
size_t length)
|
||||
{
|
||||
FAR struct inode *inode = (FAR struct inode *)map->priv.p;
|
||||
int ret = OK;
|
||||
|
||||
/* If the file has been unlinked previously, delete the contents.
|
||||
* The inode is released after this call, hence checking if i_crefs <= 1.
|
||||
|
||||
Reference in New Issue
Block a user