diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-02-24 17:39:27 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-03-13 12:23:45 +0100 |
commit | 4116fce6290740b1bda8d546472e2f884a35099b (patch) | |
tree | e2382e483adde28c13f3ef058cf15ea44e2c532b /cpukit/libfs/src/imfs/imfs_handlers_device.c | |
parent | bea7043c80a9534c7ad3c0dd3382990915a07a07 (diff) |
Filesystem: New defaults fsync_h and fdatasync_h
New defaults rtems_filesystem_default_fsync_or_fdatasync() and
rtems_filesystem_default_fsync_or_fdatasync_success() for fsync_h and
fdatasync_h. The rtems_filesystem_default_fsync_or_fdatasync() sets now
errno to EINVAL according to POSIX.
Diffstat (limited to 'cpukit/libfs/src/imfs/imfs_handlers_device.c')
-rw-r--r-- | cpukit/libfs/src/imfs/imfs_handlers_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libfs/src/imfs/imfs_handlers_device.c b/cpukit/libfs/src/imfs/imfs_handlers_device.c index a6edfb1f77..df9ea1ae70 100644 --- a/cpukit/libfs/src/imfs/imfs_handlers_device.c +++ b/cpukit/libfs/src/imfs/imfs_handlers_device.c @@ -30,7 +30,7 @@ const rtems_filesystem_file_handlers_r IMFS_device_handlers = { device_lseek, IMFS_stat, device_ftruncate, - rtems_filesystem_default_fsync, - rtems_filesystem_default_fdatasync, + rtems_filesystem_default_fsync_or_fdatasync, + rtems_filesystem_default_fsync_or_fdatasync, rtems_filesystem_default_fcntl }; |