forked from Imagelibrary/rtems
2008-08-06 Chris Johns <chrisj@rtems.org>
* libblock/src/bdbuf.c: PR1272. Fixed similar possible issues in the new bdbuf code.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2008-08-06 Chris Johns <chrisj@rtems.org>
|
||||||
|
|
||||||
|
* libblock/src/bdbuf.c: PR1272. Fixed similar possible issues in
|
||||||
|
the new bdbuf code.
|
||||||
|
|
||||||
2008-08-06 Brett Swimley <brett.swimley@aedbozeman.com>
|
2008-08-06 Brett Swimley <brett.swimley@aedbozeman.com>
|
||||||
|
|
||||||
* libblock/src/diskdevs.c: PR1192. Update the disktap pointer
|
* libblock/src/diskdevs.c: PR1192. Update the disktap pointer
|
||||||
|
|||||||
@@ -1451,8 +1451,6 @@ rtems_bdbuf_get (dev_t device,
|
|||||||
|
|
||||||
pool = rtems_bdbuf_get_pool (dd->phys_dev->pool);
|
pool = rtems_bdbuf_get_pool (dd->phys_dev->pool);
|
||||||
|
|
||||||
rtems_disk_release(dd);
|
|
||||||
|
|
||||||
rtems_bdbuf_lock_pool (pool);
|
rtems_bdbuf_lock_pool (pool);
|
||||||
|
|
||||||
#if RTEMS_BDBUF_TRACE
|
#if RTEMS_BDBUF_TRACE
|
||||||
@@ -1468,6 +1466,8 @@ rtems_bdbuf_get (dev_t device,
|
|||||||
|
|
||||||
rtems_bdbuf_unlock_pool (pool);
|
rtems_bdbuf_unlock_pool (pool);
|
||||||
|
|
||||||
|
rtems_disk_release(dd);
|
||||||
|
|
||||||
*bdp = bd;
|
*bdp = bd;
|
||||||
|
|
||||||
return RTEMS_SUCCESSFUL;
|
return RTEMS_SUCCESSFUL;
|
||||||
|
|||||||
Reference in New Issue
Block a user