Added imfs_fdatasync routine that gets called from both fdatasync and datasync.

This commit is contained in:
Jennifer Averett
1998-12-03 22:19:06 +00:00
parent 49629bd8cb
commit a4e2f08c25
4 changed files with 104 additions and 0 deletions

View File

@@ -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;
}

View File

@@ -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;
}

View File

@@ -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;
}

View File

@@ -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;
}