fs/vfs: fix compile break when enable PSEUDOFS_FILE
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
This commit is contained in:
parent
32b25849fe
commit
f9283c4e70
1 changed files with 1 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue