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,
|
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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user