[2.4 PATCH] reiserfs parenthesis fix

2006-12-04 Thread Mariusz Kozlowski
Hello,

This patch fixes parenthesis in B_PRIGHT_DELIM_KEY() macro code.

Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]>

 include/linux/reiserfs_fs.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.4.34-pre6-a/include/linux/reiserfs_fs.h 2004-11-17 
12:54:22.0 +0100
+++ linux-2.4.34-pre6-b/include/linux/reiserfs_fs.h 2006-12-01 
11:53:10.0 +0100
@@ -787,7 +787,7 @@ struct block_head {   
 
 
 /* Get right delimiting key. -- little endian */
-#define B_PRIGHT_DELIM_KEY(p_s_bh)   (&(blk_right_delim_key(B_BLK_HEAD(p_s_bh))
+#define B_PRIGHT_DELIM_KEY(p_s_bh)   
(&(blk_right_delim_key(B_BLK_HEAD(p_s_bh
 
 /* Does the buffer contain a disk leaf. */
 #define B_IS_ITEMS_LEVEL(p_s_bh) (B_LEVEL(p_s_bh) == DISK_LEAF_NODE_LEVEL)


-- 
Regards,

    Mariusz Kozlowski


[PATCH] fs: reiserfs add missing brackets

2006-11-30 Thread Mariusz Kozlowski
Hello,

This patch adds missing brackets. 

 include/linux/reiserfs_fs.h |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.19-rc6-mm2-a/include/linux/reiserfs_fs.h  2006-11-28 
12:17:06.0 +0100
+++ linux-2.6.19-rc6-mm2-b/include/linux/reiserfs_fs.h  2006-11-30 
01:05:38.0 +0100
@@ -739,7 +739,7 @@ struct block_head {
 #define PUT_B_FREE_SPACE(p_s_bh,val)  do { 
set_blkh_free_space(B_BLK_HEAD(p_s_bh),val); } while (0)
 
 /* Get right delimiting key. -- little endian */
-#define B_PRIGHT_DELIM_KEY(p_s_bh)   (&(blk_right_delim_key(B_BLK_HEAD(p_s_bh))
+#define B_PRIGHT_DELIM_KEY(p_s_bh)   
(&(blk_right_delim_key(B_BLK_HEAD(p_s_bh
 
 /* Does the buffer contain a disk leaf. */
 #define B_IS_ITEMS_LEVEL(p_s_bh) (B_LEVEL(p_s_bh) == DISK_LEAF_NODE_LEVEL)


-- 
Regards,

    Mariusz Kozlowski