summaryrefslogtreecommitdiff
path: root/nuttx/fs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-15 21:35:18 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-15 21:35:18 +0000
commit51e0c930ca583196bf1075217cff969a0f7e4619 (patch)
treebcb726d801a0f2cd87a8f72764e3d049f7d67703 /nuttx/fs
parentb7ce758f3b0bf5680cc545134a3939bdec40dabf (diff)
downloadpx4-nuttx-51e0c930ca583196bf1075217cff969a0f7e4619.tar.gz
px4-nuttx-51e0c930ca583196bf1075217cff969a0f7e4619.tar.bz2
px4-nuttx-51e0c930ca583196bf1075217cff969a0f7e4619.zip
Mirtoo differences from Konstantin; File system fix from Lorenz Meier
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5360 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs')
-rw-r--r--nuttx/fs/fs_files.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/fs/fs_files.c b/nuttx/fs/fs_files.c
index 425e7c73f..4da2d28a5 100644
--- a/nuttx/fs/fs_files.c
+++ b/nuttx/fs/fs_files.c
@@ -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;
}