]> Pileus Git - ~andy/linux/commit
ext4: move test whether extent to map can be extended to one place
authorJan Kara <jack@suse.cz>
Sat, 17 Aug 2013 13:57:56 +0000 (09:57 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 17 Aug 2013 13:57:56 +0000 (09:57 -0400)
commit09930042a2e94cf8ee79d22943915612c1e4ba51
treef35392e0106f54b3dc3dd101ea1c1b1e115469ea
parent7d7345322d60edb0fa49a64a89b31360f01d09cb
ext4: move test whether extent to map can be extended to one place

Currently the logic whether the current buffer can be added to an extent
of buffers to map is split between mpage_add_bh_to_extent() and
add_page_bufs_to_extent(). Move the whole logic to
mpage_add_bh_to_extent() which makes things a bit more straightforward
and make following i_size fixes easier.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@vger.kernel.org
fs/ext4/inode.c