Permalink
Browse files

rtems_yaffs: Update due to RTEMS API changes

  • Loading branch information...
1 parent 3294f1c commit ab1736aebddda8e776032ff49d73f3800e684bb5 @sebhub sebhub committed Oct 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 rtems/rtems_yaffs.c
View
@@ -493,7 +493,7 @@ static int ryfs_fsync_or_fdatasync(rtems_libio_t *iop)
ylock(dev);
yc = yaffs_flush_file(obj, 0, 1);
- if (rtems_filesystem_location_is_root(&iop->pathinfo)) {
+ if (rtems_filesystem_location_is_instance_root(&iop->pathinfo)) {
yaffs_flush_whole_cache(dev);
}
yunlock(dev);

0 comments on commit ab1736a

Please sign in to comment.