From 33dbdda28e5b2ca7435abba1421633f1736c1c02 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 6 Jun 2005 11:42:14 +0000 Subject: Allow data blocks to be less than sizeof ( struct buffer_free_block ) in size. (The restriction on the size of free blocks remains.) --- src/include/buffer.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/buffer.h b/src/include/buffer.h index ecd7b4813..ac4c31481 100644 --- a/src/include/buffer.h +++ b/src/include/buffer.h @@ -82,7 +82,9 @@ struct buffer { */ struct buffer_free_block { char tail; /**< Tail byte marker */ - physaddr_t next_free; /**< Address of next free block */ + char reserved[3]; /**< Padding */ + physaddr_t start; /**< Address of this free block */ + physaddr_t next; /**< Address of next free block */ physaddr_t end; /**< End of this block */ } __attribute__ (( packed )); -- cgit v1.2.3-55-g7522