diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-05-12 20:07:51 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-05-12 20:07:51 +0000 |
commit | e7ffb843714beae99d05dd5214cf36e1d623fb30 (patch) | |
tree | 0949b1617b14105c23315eaa26b8e3341f7ffc70 /nuttx/fs/fs_open.c | |
parent | 473e28a6eebe47b386e625fd33b1c13b60f8e108 (diff) | |
download | px4-nuttx-e7ffb843714beae99d05dd5214cf36e1d623fb30.tar.gz px4-nuttx-e7ffb843714beae99d05dd5214cf36e1d623fb30.tar.bz2 px4-nuttx-e7ffb843714beae99d05dd5214cf36e1d623fb30.zip |
Add mount() and umount()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@213 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/fs_open.c')
-rw-r--r-- | nuttx/fs/fs_open.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/fs/fs_open.c b/nuttx/fs/fs_open.c index 0fc1b5133..3561d2be0 100644 --- a/nuttx/fs/fs_open.c +++ b/nuttx/fs/fs_open.c @@ -153,11 +153,11 @@ int open(const char *path, int oflags, ...) { if (INODE_IS_MOUNTPT(inode)) { - status = inode->u.i_ops->open((FAR struct file*)&list->fl_files[fd]); + status = inode->u.i_mops->open((FAR struct file*)&list->fl_files[fd], relpath); } else { - status = inode->u.i_mops->open((FAR struct file*)&list->fl_files[fd], relpath); + status = inode->u.i_ops->open((FAR struct file*)&list->fl_files[fd]); } } |