aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorMariusz Kozlowski <m.kozlowski@tuxland.pl>2006-12-01 16:19:04 +0100
committerWilly Tarreau <w@1wt.eu>2007-02-25 08:41:30 +0100
commitf09dec18e4927b996b9459decff0a61743dd2aac (patch)
tree46af29347de084f0847239c13561f131b653d3ce /fs
parentcbb964167dc71c68385c578121ad0a5baec2d6ae (diff)
downloadlinux-2.4-f09dec18e4927b996b9459decff0a61743dd2aac.tar.gz
[PATCH] fs ufs macro parenthesis fix
Hello, This patch fixes parenthesis stuff in ubh_get_addr16() macro code. Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl> fs/ufs/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Diffstat (limited to 'fs')
-rw-r--r--fs/ufs/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ufs/util.h b/fs/ufs/util.h
index 2e5d4760282941..1fa2d0ab15ddd8 100644
--- a/fs/ufs/util.h
+++ b/fs/ufs/util.h
@@ -273,7 +273,7 @@ extern void _ubh_memcpyubh_(struct ufs_sb_private_info *, struct ufs_buffer_head
#define ubh_get_addr16(ubh,begin) \
(((u16*)((ubh)->bh[(begin) >> (uspi->s_fshift-1)]->b_data)) + \
- ((begin) & (uspi->fsize>>1) - 1)))
+ ((begin) & ((uspi->fsize>>1) - 1)))
#define ubh_get_addr32(ubh,begin) \
(((u32*)((ubh)->bh[(begin) >> (uspi->s_fshift-2)]->b_data)) + \