ext4: Release page references acquired in ext4_da_block_invalidatepages
authorJan Kara <jack@suse.cz>
Wed, 3 Mar 2010 21:19:32 +0000 (16:19 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 3 Mar 2010 21:19:32 +0000 (16:19 -0500)
We forget to release page references we acquire in
ext4_da_block_invalidatepages.  Luckily, this function gets called only if we
are not able to allocate blocks for delay-allocated data so that function
should better never be called.

Also cleanup handling of index variable.

Reported-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

No differences found