From 904ced08bba98944deefbc98cd3d5d3a86d96de6 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Wed, 6 Aug 2008 04:04:59 +0000 Subject: [PATCH] 2008-08-06 Till Straumann * libblock/src/diskdevs.c: PR1269. Delete the semaphore rather than release it. --- cpukit/ChangeLog | 5 +++++ cpukit/libblock/src/diskdevs.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index e4347f38e1..55237079ac 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2008-08-06 Till Straumann + + * libblock/src/diskdevs.c: PR1269. Delete the semaphore rather + than release it. + 2008-08-05 Joel Sherrill PR 537/bsps diff --git a/cpukit/libblock/src/diskdevs.c b/cpukit/libblock/src/diskdevs.c index 94a58daa6f..2706e51a26 100644 --- a/cpukit/libblock/src/diskdevs.c +++ b/cpukit/libblock/src/diskdevs.c @@ -632,7 +632,7 @@ rtems_disk_io_done(void) } free(disktab); - rc = rtems_semaphore_release(diskdevs_mutex); + rc = rtems_semaphore_delete(diskdevs_mutex); /* XXX bdbuf should be released too! */ disk_io_initialized = 0;