diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-06-05 06:05:22 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-06-05 06:05:22 +0200 |
commit | 9b111445721d56695fbbc9b2b2418c2f92269c39 (patch) | |
tree | 6155afe39c1c8bbf182511a813f812ec063b7a28 | |
parent | 12e353b21dc2f78fe5dafc848367b189784c7456 (diff) |
Fix operation priority
* balloc.c (ext2_new_block): Fix operation priority.
-rw-r--r-- | ext2fs/balloc.c | 2 |
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]) >> |