forked from Imagelibrary/rtems
Added imfs_fdatasync routine that gets called from both fdatasync and datasync.
This commit is contained in:
26
c/src/exec/libfs/src/imfs/imfs_fdatasync.c
Normal file
26
c/src/exec/libfs/src/imfs/imfs_fdatasync.c
Normal 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;
|
||||
}
|
||||
26
c/src/lib/libc/imfs_fdatasync.c
Normal file
26
c/src/lib/libc/imfs_fdatasync.c
Normal 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;
|
||||
}
|
||||
26
c/src/libfs/src/imfs/imfs_fdatasync.c
Normal file
26
c/src/libfs/src/imfs/imfs_fdatasync.c
Normal 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;
|
||||
}
|
||||
26
cpukit/libfs/src/imfs/imfs_fdatasync.c
Normal file
26
cpukit/libfs/src/imfs/imfs_fdatasync.c
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user