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_link.c | |
parent | Filesystem: Change node type enum values (diff) | |
download | rtems-4116fce6290740b1bda8d546472e2f884a35099b.tar.bz2 |
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_link.c')
-rw-r--r-- | cpukit/libfs/src/imfs/imfs_handlers_link.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libfs/src/imfs/imfs_handlers_link.c b/cpukit/libfs/src/imfs/imfs_handlers_link.c index 967aa1410f..fd68f77eef 100644 --- a/cpukit/libfs/src/imfs/imfs_handlers_link.c +++ b/cpukit/libfs/src/imfs/imfs_handlers_link.c @@ -30,7 +30,7 @@ const rtems_filesystem_file_handlers_r IMFS_link_handlers = { rtems_filesystem_default_lseek, IMFS_stat, /* stat */ rtems_filesystem_default_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 }; |