The function rtems_rfs_buffer_sync() erroneously calls rtems_disk_release(). This screws up the reference counting of the disk.
Update #3484. --- cpukit/libfs/src/rfs/rtems-rfs-buffer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/cpukit/libfs/src/rfs/rtems-rfs-buffer.c b/cpukit/libfs/src/rfs/rtems-rfs-buffer.c index 33beb54700..4a66840b17 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-buffer.c +++ b/cpukit/libfs/src/rfs/rtems-rfs-buffer.c @@ -397,7 +397,6 @@ rtems_rfs_buffer_sync (rtems_rfs_file_system* fs) rtems_status_text (sc)); result = EIO; } - rtems_disk_release (fs->disk); #else if (fsync (fs->device) < 0) { -- 2.13.7 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel