forked from Imagelibrary/rtems
Fixed invalid chain extract
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2010-01-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
* libblock/src/bdbuf.c: Fixed invalid chain extract.
|
||||
|
||||
2010-01-26 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* libblock/include/rtems/bdbuf.h: Documentation. New states
|
||||
|
||||
@@ -1523,8 +1523,9 @@ rtems_bdbuf_wait_for_access (rtems_bdbuf_buffer *bd)
|
||||
rtems_bdbuf_group_release (bd);
|
||||
/* Fall through */
|
||||
case RTEMS_BDBUF_STATE_CACHED:
|
||||
case RTEMS_BDBUF_STATE_EMPTY:
|
||||
rtems_chain_extract (&bd->link);
|
||||
/* Fall through */
|
||||
case RTEMS_BDBUF_STATE_EMPTY:
|
||||
return;
|
||||
case RTEMS_BDBUF_STATE_ACCESS_CACHED:
|
||||
case RTEMS_BDBUF_STATE_ACCESS_EMPTY:
|
||||
|
||||
Reference in New Issue
Block a user