summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/imfs/imfs_fdatasync.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-02-24 17:39:27 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-03-13 12:23:45 +0100
commit4116fce6290740b1bda8d546472e2f884a35099b (patch)
treee2382e483adde28c13f3ef058cf15ea44e2c532b /cpukit/libfs/src/imfs/imfs_fdatasync.c
parentFilesystem: Change node type enum values (diff)
downloadrtems-4116fce6290740b1bda8d546472e2f884a35099b.tar.bz2
Filesystem: New defaults fsync_h and fdatasync_h
New defaults rtems_filesystem_default_fsync_or_fdatasync() and rtems_filesystem_default_fsync_or_fdatasync_success() for fsync_h and fdatasync_h. The rtems_filesystem_default_fsync_or_fdatasync() sets now errno to EINVAL according to POSIX.
Diffstat (limited to '')
-rw-r--r--cpukit/libfs/src/imfs/imfs_fdatasync.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/cpukit/libfs/src/imfs/imfs_fdatasync.c b/cpukit/libfs/src/imfs/imfs_fdatasync.c
deleted file mode 100644
index 6b107bfaf8..0000000000
--- a/cpukit/libfs/src/imfs/imfs_fdatasync.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * IMFS_fdatasync
- *
- * The following routine does a sync on an IMFS node. The In Memory
- * File System is always in sync, therefore this routine always returns
- * pass.
- *
- * COPYRIGHT (c) 1989-1999.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.com/license/LICENSE.
- *
- * $Id$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include "imfs.h"
-
-int IMFS_fdatasync(
- rtems_libio_t *iop
-)
-{
- return 0;
-}