]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit31df2361467d8724dbf843d7139603ed39f328a7
tree0670c100d74086884c772e72d3e4135b57118515
parent65e518c988b9493cd984335eb8a4c16a601fe4f9
ext4: Release page references acquired in ext4_da_block_invalidatepages

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>
fs/ext4/inode.c