From ab1736aebddda8e776032ff49d73f3800e684bb5 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 9 Oct 2012 10:30:38 +0200 Subject: rtems_yaffs: Update due to RTEMS API changes --- rtems/rtems_yaffs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtems/rtems_yaffs.c b/rtems/rtems_yaffs.c index 0cd42b9..3e9c44d 100644 --- a/rtems/rtems_yaffs.c +++ b/rtems/rtems_yaffs.c @@ -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); -- cgit v1.2.3