diff options
author | Maksym Planeta <mcsim.planeta@gmail.com> | 2012-10-05 20:08:50 +0300 |
---|---|---|
committer | Maksym Planeta <mcsim.planeta@gmail.com> | 2012-10-28 12:33:36 +0100 |
commit | bed0cb72d333e63050350165ae29bf3b7f9b1a1d (patch) | |
tree | 0faef30b1719a455e855c25ee73c692f2b8130a1 | |
parent | 3fb8db3ee9f5bf97c597a09af75a344e5c9b8d01 (diff) |
Fix bug with operators priority.
*ext2fs/balloc.c (ext2_new_block): Function changed.
-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 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]) >> |