summaryrefslogtreecommitdiffstats
path: root/cpukit/libblock/include/rtems/bdbuf.h
diff options
context:
space:
mode:
authorThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2009-10-29 12:50:01 +0000
committerThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2009-10-29 12:50:01 +0000
commitb5b07cad7d223ffa61db5aefa47db5f4f3ee8265 (patch)
tree4e108198b809c908ff30f2c6af2dbb32744c59d4 /cpukit/libblock/include/rtems/bdbuf.h
parent Aded ramdisk_register(). (diff)
downloadrtems-b5b07cad7d223ffa61db5aefa47db5f4f3ee8265.tar.bz2
- - Reorderd AVL node fields to save space
- Fixed printf() formats. New structure for waiters synchronization. Added BDBUF_INVALID_DEV define. New error handling in rtems_bdbuf_init(). - Release disk in case of an error.
Diffstat (limited to 'cpukit/libblock/include/rtems/bdbuf.h')
-rw-r--r--cpukit/libblock/include/rtems/bdbuf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libblock/include/rtems/bdbuf.h b/cpukit/libblock/include/rtems/bdbuf.h
index 31073dcbbe..4b66fd781e 100644
--- a/cpukit/libblock/include/rtems/bdbuf.h
+++ b/cpukit/libblock/include/rtems/bdbuf.h
@@ -31,7 +31,7 @@
#ifdef __cplusplus
extern "C" {
#endif
-
+
/**
* @defgroup rtems_libblock Block Device Library
*
@@ -183,9 +183,9 @@ typedef struct rtems_bdbuf_buffer
struct rtems_bdbuf_avl_node
{
- signed char cache; /**< Cache */
struct rtems_bdbuf_buffer* left; /**< Left Child */
struct rtems_bdbuf_buffer* right; /**< Right Child */
+ signed char cache; /**< Cache */
signed char bal; /**< The balance of the sub-tree */
} avl;