summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libfs/src
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>1998-12-03 22:19:06 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>1998-12-03 22:19:06 +0000
commita4e2f08c2539aac7fdc54a7d36cd044d88999542 (patch)
tree41af0c2dc1d455b03f6b6d1d19965fed7c1d705f /c/src/exec/libfs/src
parentAdded a imfs fdatasync routine that gets called for fdatasync and datasync. (diff)
downloadrtems-a4e2f08c2539aac7fdc54a7d36cd044d88999542.tar.bz2
Added imfs_fdatasync routine that gets called from both fdatasync and datasync.
Diffstat (limited to 'c/src/exec/libfs/src')
-rw-r--r--c/src/exec/libfs/src/imfs/imfs_fdatasync.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/c/src/exec/libfs/src/imfs/imfs_fdatasync.c b/c/src/exec/libfs/src/imfs/imfs_fdatasync.c
new file mode 100644
index 0000000000..280ffb223c
--- /dev/null
+++ b/c/src/exec/libfs/src/imfs/imfs_fdatasync.c
@@ -0,0 +1,26 @@
+/*
+ * 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-1998.
+ * On-Line Applications Research Corporation (OAR).
+ * Copyright assigned to U.S. Government, 1994.
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
+ */
+
+#include "imfs.h"
+
+int IMFS_fdatasync(
+ rtems_libio_t *iop
+)
+{
+ return 0;
+}