diff options
Diffstat (limited to 'nuttx/fs/vfs/fs_fsync.c')
-rw-r--r-- | nuttx/fs/vfs/fs_fsync.c | 4 |
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 */ |