Added a imfs fdatasync routine that gets called for fdatasync and datasync.

This commit is contained in:
Jennifer Averett
1998-12-03 22:17:46 +00:00
parent 5822f437a1
commit 49629bd8cb
5 changed files with 20 additions and 5 deletions

View File

@@ -437,6 +437,10 @@ int IMFS_readlink(
size_t bufsize
);
int IMFS_fdatasync(
rtems_libio_t *iop
);
#ifdef __cplusplus
}
#endif

View File

@@ -437,6 +437,10 @@ int IMFS_readlink(
size_t bufsize
);
int IMFS_fdatasync(
rtems_libio_t *iop
);
#ifdef __cplusplus
}
#endif

View File

@@ -31,8 +31,8 @@ rtems_filesystem_file_handlers_r memfile_handlers = {
IMFS_fchmod,
memfile_ftruncate,
NULL,
NULL,
NULL
IMFS_fdatasync,
IMFS_fdatasync
};
/*
@@ -49,9 +49,8 @@ rtems_filesystem_file_handlers_r dir_handlers = {
imfs_dir_fstat,
IMFS_fchmod,
NULL,
NULL,
NULL,
NULL
IMFS_fdatasync,
IMFS_fdatasync
};
/*

View File

@@ -437,6 +437,10 @@ int IMFS_readlink(
size_t bufsize
);
int IMFS_fdatasync(
rtems_libio_t *iop
);
#ifdef __cplusplus
}
#endif