From: Vladimir Saveliev This fixes bugs in debugging code. Signed-off-by: Vladimir V. Saveliev Signed-off-by: Andrew Morton --- fs/reiser4/plugin/space/bitmap.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN fs/reiser4/plugin/space/bitmap.c~reiser4-fix-incorrect-assertions fs/reiser4/plugin/space/bitmap.c --- devel/fs/reiser4/plugin/space/bitmap.c~reiser4-fix-incorrect-assertions 2006-05-18 12:25:39.000000000 -0700 +++ devel-akpm/fs/reiser4/plugin/space/bitmap.c 2006-05-18 12:25:39.000000000 -0700 @@ -1113,7 +1113,7 @@ alloc_blocks_forward(reiser4_blocknr_hin assert("zam-398", super != NULL); assert("zam-412", hint != NULL); - assert("zam-397", hint->blk < reiser4_block_count(super)); + assert("zam-397", hint->blk <= reiser4_block_count(super)); if (hint->max_dist == 0) search_end = reiser4_block_count(super); @@ -1160,7 +1160,7 @@ static int alloc_blocks_backward(reiser4 assert("zam-969", super != NULL); assert("zam-970", hint != NULL); - assert("zam-971", hint->blk < reiser4_block_count(super)); + assert("zam-971", hint->blk <= reiser4_block_count(super)); search_start = hint->blk; if (hint->max_dist == 0 || search_start <= hint->max_dist) _