forked from Imagelibrary/rtems
Added handler for fsync. For the memfile it is the same as the data sync.
This commit is contained in:
@@ -31,7 +31,7 @@ rtems_filesystem_file_handlers_r IMFS_memfile_handlers = {
|
||||
IMFS_fchmod,
|
||||
memfile_ftruncate,
|
||||
NULL, /* fpathconf */
|
||||
NULL, /* fsync */
|
||||
IMFS_fdatasync, /* fsync */
|
||||
IMFS_fdatasync,
|
||||
IMFS_fcntl,
|
||||
memfile_rmnod
|
||||
|
||||
@@ -31,7 +31,7 @@ rtems_filesystem_file_handlers_r IMFS_memfile_handlers = {
|
||||
IMFS_fchmod,
|
||||
memfile_ftruncate,
|
||||
NULL, /* fpathconf */
|
||||
NULL, /* fsync */
|
||||
IMFS_fdatasync, /* fsync */
|
||||
IMFS_fdatasync,
|
||||
IMFS_fcntl,
|
||||
memfile_rmnod
|
||||
|
||||
@@ -31,7 +31,7 @@ rtems_filesystem_file_handlers_r IMFS_memfile_handlers = {
|
||||
IMFS_fchmod,
|
||||
memfile_ftruncate,
|
||||
NULL, /* fpathconf */
|
||||
NULL, /* fsync */
|
||||
IMFS_fdatasync, /* fsync */
|
||||
IMFS_fdatasync,
|
||||
IMFS_fcntl,
|
||||
memfile_rmnod
|
||||
|
||||
Reference in New Issue
Block a user