fs/vfs: fix compile break when enable PSEUDOFS_FILE

Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
This commit is contained in:
dongjiuzhu1 2024-09-30 17:03:16 +08:00 committed by Xiang Xiao
parent 32b25849fe
commit f9283c4e70

View file

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