summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaksym Planeta <mcsim.planeta@gmail.com>2012-10-05 20:08:50 +0300
committerMaksym Planeta <mcsim.planeta@gmail.com>2012-10-07 21:30:46 +0300
commit87bb398fa2b73bd7ec0993d0d9646bf43bd82782 (patch)
treed22791ec6fa8b044f1987152b64440dd65436ddf
parent87a1e53090316d1826f9465f56d5acbdf2b7973d (diff)
Fix bug with operators priority.
*ext2fs/balloc.c (ext2_new_block): Function changed.
-rw-r--r--ext2fs/balloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/balloc.c b/ext2fs/balloc.c
index 30c2eb8d..b0fc5f2b 100644
--- a/ext2fs/balloc.c
+++ b/ext2fs/balloc.c
@@ -198,7 +198,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]) >>