From 9b111445721d56695fbbc9b2b2418c2f92269c39 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 5 Jun 2012 06:05:22 +0200 Subject: Fix operation priority * balloc.c (ext2_new_block): Fix operation priority. --- ext2fs/balloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext2fs/balloc.c b/ext2fs/balloc.c index 8ad29cec..7fe82ba0 100644 --- a/ext2fs/balloc.c +++ b/ext2fs/balloc.c @@ -197,7 +197,7 @@ repeat: * The goal was occupied; search forward for a free * block within the next 32 blocks */ - if (j & 31 == 31) + if ((j & 31) == 31) lmap = 0; else lmap = ((((unsigned long *) bh)[j >> 5]) >> -- cgit v1.2.3