summaryrefslogtreecommitdiff
path: root/nuttx/fs/fs_statfs.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-06-09 19:11:00 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-06-09 19:11:00 +0000
commitcf0426d5964d50da8b21db6549ed19a987ee85e2 (patch)
treebfbdb400743a05f683c58cc1d8217d2f1d6ce8b9 /nuttx/fs/fs_statfs.c
parent05dd8c79b40af0221973ba0ee19ee0066c3a8dde (diff)
downloadpx4-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_statfs.c')
-rw-r--r--nuttx/fs/fs_statfs.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/nuttx/fs/fs_statfs.c b/nuttx/fs/fs_statfs.c
index 515723ed6..fbafe0bf5 100644
--- a/nuttx/fs/fs_statfs.c
+++ b/nuttx/fs/fs_statfs.c
@@ -54,8 +54,6 @@
* Private Functions
****************************************************************************/
-#if CONFIG_NFILE_DESCRIPTORS > 0
-
/****************************************************************************
* Name: statpsuedo
****************************************************************************/
@@ -125,7 +123,7 @@ int statfs(const char *path, struct statfs *buf)
* are dealing with.
*/
-#ifndef CONFIG_DISABLE_MOUNTPOUNT
+#ifndef CONFIG_DISABLE_MOUNTPOINT
if (INODE_IS_MOUNTPT(inode))
{
/* The node is a file system mointpoint. Verify that the mountpoint
@@ -168,5 +166,3 @@ int statfs(const char *path, struct statfs *buf)
*get_errno_ptr() = ret;
return ERROR;
}
-
-#endif /* CONFIG_NFILE_DESCRIPTORS */