summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-06-05 06:05:22 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-06-05 06:05:22 +0200
commit9b111445721d56695fbbc9b2b2418c2f92269c39 (patch)
tree6155afe39c1c8bbf182511a813f812ec063b7a28 /ext2fs
parent12e353b21dc2f78fe5dafc848367b189784c7456 (diff)
Fix operation priority
* balloc.c (ext2_new_block): Fix operation priority.
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/balloc.c2
1 files changed, 1 insertions, 1 deletions
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]) >>