Skip to content

Commit

Permalink
fs/vfs: fix compile break when enable PSEUDOFS_FILE
Browse files Browse the repository at this point in the history
Signed-off-by: dongjiuzhu1 <[email protected]>
  • Loading branch information
Donny9 authored and xiaoxiang781216 committed Oct 1, 2024
1 parent 32b2584 commit f9283c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/vfs/fs_pseudofile.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f9283c4

Please sign in to comment.