summaryrefslogtreecommitdiff
path: root/nuttx/fs/vfs/fs_fsync.c
diff options
context:
space:
mode:
authorJakob Odersky <jodersky@gmail.com>2015-01-13 17:50:25 +0100
committerJakob Odersky <jodersky@gmail.com>2015-01-13 17:50:25 +0100
commit91a0741c191bd1f983621b92f6816c68799b05d0 (patch)
treee1d51bf631a1af2967fc4898c50c01fa49322eb6 /nuttx/fs/vfs/fs_fsync.c
parentf2c417a2af5816b562516d40532498db3d4d12b6 (diff)
downloadnuttx-91a0741c191bd1f983621b92f6816c68799b05d0.tar.gz
nuttx-91a0741c191bd1f983621b92f6816c68799b05d0.tar.bz2
nuttx-91a0741c191bd1f983621b92f6816c68799b05d0.zip
apply patch to fix inodes
Diffstat (limited to 'nuttx/fs/vfs/fs_fsync.c')
-rw-r--r--nuttx/fs/vfs/fs_fsync.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/fs/vfs/fs_fsync.c b/nuttx/fs/vfs/fs_fsync.c
index 24e184142..4d2311ea0 100644
--- a/nuttx/fs/vfs/fs_fsync.c
+++ b/nuttx/fs/vfs/fs_fsync.c
@@ -49,6 +49,8 @@
#include "inode/inode.h"
+#ifndef CONFIG_DISABLE_MOUNTPOINT
+
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
@@ -146,3 +148,5 @@ int fsync(int fd)
return file_fsync(filep);
}
+
+#endif /* !CONFIG_DISABLE_MOUNTPOINT */