Ext3: remove a useless check for the function ext3_free_blocks_sb
PATCH 2/2 Ext3: remove a useless check for the function ext3_free_blocks_sb
From: Wang Shilong <[email protected]>
Because 'block + count < block' always comes to false, it is useless to have this check, just remove it.
Signed-off-by Wang Shilong <[email protected]>
--- fs/ext3/balloc.c | 1 - 1 file changed, 1 deletion(-)
fs/ext3/balloc.c +0 -1
@@ -507,7 +507,6 @@ void ext3_free_blocks_sb(handle_t *handle, struct super_block *sb, sbi =EXT3_SB (sb); es = sbi->s_es;if (block <le32_to_cpu (es->s_first_data_block) || - block + count < block || block + count >le32_to_cpu (es->s_blocks_count)) {ext3_error (sb,"ext3_free_blocks" , "Freeing blocks not in datazone - "
-- 1.7.11.7