summaryrefslogtreecommitdiff
path: root/nuttx/fs/fs_open.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-05-20 16:38:49 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-05-20 16:38:49 +0000
commit030a08da229d9c7a409c48fa7be3ff7f0177ece6 (patch)
tree760c9c5ab82fb82ac2e31cfbc5a7249ad1e588b0 /nuttx/fs/fs_open.c
parentae18b383ab8601fbb814c89b6b289ef6b716a1ad (diff)
downloadpx4-nuttx-030a08da229d9c7a409c48fa7be3ff7f0177ece6.tar.gz
px4-nuttx-030a08da229d9c7a409c48fa7be3ff7f0177ece6.tar.bz2
px4-nuttx-030a08da229d9c7a409c48fa7be3ff7f0177ece6.zip
fix last change
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@235 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/fs_open.c')
-rw-r--r--nuttx/fs/fs_open.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/nuttx/fs/fs_open.c b/nuttx/fs/fs_open.c
index e954fb743..fd4462c99 100644
--- a/nuttx/fs/fs_open.c
+++ b/nuttx/fs/fs_open.c
@@ -146,7 +146,10 @@ int open(const char *path, int oflags, ...)
return ERROR;
}
- /* Perform the driver open operation */
+ /* Perform the driver open operation. NOTE that the open method may
+ * be called many times. The driver/mountpoint logic should handled this
+ * becuase it may also be closed that many times.
+ */
status = OK;
if (inode->u.i_ops && inode->u.i_ops->open)