]> git.openpandora.org Git - pandora-kernel.git/commitdiff
ext4: Don't look at buffer_heads outside i_size.
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 4 Jun 2009 12:06:06 +0000 (08:06 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 4 Jun 2009 12:06:06 +0000 (08:06 -0400)
Buffer heads outside i_size will be unmapped. So when we
are doing "walk_page_buffers" limit ourself to i_size.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Reviewed-by: Josef Bacik <jbacik@redhat.com>
Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
----

fs/ext4/inode.c

diff --cc fs/ext4/inode.c
Simple merge