Browse Source

Fixed NuttX issue causing an assertion to trigger on unlinking / opening files

sbg
Lorenz Meier 12 years ago
parent
commit
1306008467
  1. 1
      nuttx/fs/fs_files.c

1
nuttx/fs/fs_files.c

@ -400,6 +400,7 @@ int files_allocate(FAR struct inode *inode, int oflags, off_t pos, int minfd) @@ -400,6 +400,7 @@ int files_allocate(FAR struct inode *inode, int oflags, off_t pos, int minfd)
list->fl_files[i].f_oflags = oflags;
list->fl_files[i].f_pos = pos;
list->fl_files[i].f_inode = inode;
list->fl_files[i].f_priv = NULL;
_files_semgive(list);
return i;
}

Loading…
Cancel
Save