summaryrefslogtreecommitdiff
path: root/nuttx/fs/fs_open.c
diff options
context:
space:
mode:
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)