Added handler for fsync. For the memfile it is the same as the data sync.

This commit is contained in:
Jennifer Averett
1999-11-16 22:45:33 +00:00
parent d2bfbaf2b1
commit 18c315533b
4 changed files with 4 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ rtems_filesystem_file_handlers_r IMFS_memfile_handlers = {
IMFS_fchmod, IMFS_fchmod,
memfile_ftruncate, memfile_ftruncate,
NULL, /* fpathconf */ NULL, /* fpathconf */
NULL, /* fsync */ IMFS_fdatasync, /* fsync */
IMFS_fdatasync, IMFS_fdatasync,
IMFS_fcntl, IMFS_fcntl,
memfile_rmnod memfile_rmnod

View File

@@ -31,7 +31,7 @@ rtems_filesystem_file_handlers_r IMFS_memfile_handlers = {
IMFS_fchmod, IMFS_fchmod,
memfile_ftruncate, memfile_ftruncate,
NULL, /* fpathconf */ NULL, /* fpathconf */
NULL, /* fsync */ IMFS_fdatasync, /* fsync */
IMFS_fdatasync, IMFS_fdatasync,
IMFS_fcntl, IMFS_fcntl,
memfile_rmnod memfile_rmnod

View File

@@ -31,7 +31,7 @@ rtems_filesystem_file_handlers_r IMFS_memfile_handlers = {
IMFS_fchmod, IMFS_fchmod,
memfile_ftruncate, memfile_ftruncate,
NULL, /* fpathconf */ NULL, /* fpathconf */
NULL, /* fsync */ IMFS_fdatasync, /* fsync */
IMFS_fdatasync, IMFS_fdatasync,
IMFS_fcntl, IMFS_fcntl,
memfile_rmnod memfile_rmnod

View File

@@ -31,7 +31,7 @@ rtems_filesystem_file_handlers_r IMFS_memfile_handlers = {
IMFS_fchmod, IMFS_fchmod,
memfile_ftruncate, memfile_ftruncate,
NULL, /* fpathconf */ NULL, /* fpathconf */
NULL, /* fsync */ IMFS_fdatasync, /* fsync */
IMFS_fdatasync, IMFS_fdatasync,
IMFS_fcntl, IMFS_fcntl,
memfile_rmnod memfile_rmnod