diff options
author | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 1999-11-16 22:45:33 +0000 |
---|---|---|
committer | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 1999-11-16 22:45:33 +0000 |
commit | 18c315533b8cddfa76c43ad4a5e2edee767ff951 (patch) | |
tree | 1e9c7404af49a689d566dc889e6b9c4db0767598 /c | |
parent | Fixed spacing. (diff) | |
download | rtems-18c315533b8cddfa76c43ad4a5e2edee767ff951.tar.bz2 |
Added handler for fsync. For the memfile it is the same as the data sync.
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/libfs/src/imfs/imfs_handlers_memfile.c | 2 | ||||
-rw-r--r-- | c/src/lib/libc/imfs_handlers_memfile.c | 2 | ||||
-rw-r--r-- | c/src/libfs/src/imfs/imfs_handlers_memfile.c | 2 | ||||
-rw-r--r-- | cpukit/libfs/src/imfs/imfs_handlers_memfile.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/c/src/exec/libfs/src/imfs/imfs_handlers_memfile.c b/c/src/exec/libfs/src/imfs/imfs_handlers_memfile.c index 20ef3c57b3..0e2566841b 100644 --- a/c/src/exec/libfs/src/imfs/imfs_handlers_memfile.c +++ b/c/src/exec/libfs/src/imfs/imfs_handlers_memfile.c @@ -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 diff --git a/c/src/lib/libc/imfs_handlers_memfile.c b/c/src/lib/libc/imfs_handlers_memfile.c index 20ef3c57b3..0e2566841b 100644 --- a/c/src/lib/libc/imfs_handlers_memfile.c +++ b/c/src/lib/libc/imfs_handlers_memfile.c @@ -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 diff --git a/c/src/libfs/src/imfs/imfs_handlers_memfile.c b/c/src/libfs/src/imfs/imfs_handlers_memfile.c index 20ef3c57b3..0e2566841b 100644 --- a/c/src/libfs/src/imfs/imfs_handlers_memfile.c +++ b/c/src/libfs/src/imfs/imfs_handlers_memfile.c @@ -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 diff --git a/cpukit/libfs/src/imfs/imfs_handlers_memfile.c b/cpukit/libfs/src/imfs/imfs_handlers_memfile.c index 20ef3c57b3..0e2566841b 100644 --- a/cpukit/libfs/src/imfs/imfs_handlers_memfile.c +++ b/cpukit/libfs/src/imfs/imfs_handlers_memfile.c @@ -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 |