2008-08-06 Till Straumann <strauman@slac.stanford.edu>

* libblock/src/diskdevs.c: PR1269. Delete the semaphore rather
	than release it.
This commit is contained in:
Chris Johns
2008-08-06 04:04:59 +00:00
parent 5a21e2feed
commit 904ced08bb
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2008-08-06 Till Straumann <strauman@slac.stanford.edu>
* libblock/src/diskdevs.c: PR1269. Delete the semaphore rather
than release it.
2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 537/bsps

View File

@@ -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;