diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-06-09 19:11:00 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-06-09 19:11:00 +0000 |
commit | cf0426d5964d50da8b21db6549ed19a987ee85e2 (patch) | |
tree | bfbdb400743a05f683c58cc1d8217d2f1d6ce8b9 /nuttx/fs/fs_open.c | |
parent | 05dd8c79b40af0221973ba0ee19ee0066c3a8dde (diff) | |
download | px4-nuttx-cf0426d5964d50da8b21db6549ed19a987ee85e2.tar.gz px4-nuttx-cf0426d5964d50da8b21db6549ed19a987ee85e2.tar.bz2 px4-nuttx-cf0426d5964d50da8b21db6549ed19a987ee85e2.zip |
Simply conditional build; fix conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@275 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/fs_open.c')
-rw-r--r-- | nuttx/fs/fs_open.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/nuttx/fs/fs_open.c b/nuttx/fs/fs_open.c index b401aebf7..094710d31 100644 --- a/nuttx/fs/fs_open.c +++ b/nuttx/fs/fs_open.c @@ -56,8 +56,6 @@ * Public Functions ************************************************************/ -#if CONFIG_NFILE_DESCRIPTORS > 0 - int inode_checkflags(FAR struct inode *inode, int oflags) { if (((oflags & O_RDOK) != 0 && !inode->u.i_ops->read) || @@ -153,7 +151,7 @@ int open(const char *path, int oflags, ...) ret = OK; if (inode->u.i_ops->open) { -#ifndef CONFIG_DISABLE_MOUNTPOUNT +#ifndef CONFIG_DISABLE_MOUNTPOINT if (INODE_IS_MOUNTPT(inode)) { ret = inode->u.i_mops->open((FAR struct file*)&list->fl_files[fd], @@ -183,4 +181,3 @@ int open(const char *path, int oflags, ...) return ERROR; } -#endif /* CONFIG_NFILE_DESCRIPTORS */ |