From: Jan Kara Date: Sat, 17 Aug 2013 13:57:56 +0000 (-0400) Subject: ext4: move test whether extent to map can be extended to one place X-Git-Tag: v3.12-rc1~148^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09930042a2e94cf8ee79d22943915612c1e4ba51;p=pandora-kernel.git 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 Signed-off-by: "Theodore Ts'o" Cc: stable@vger.kernel.org --- Reading git-diff-tree failed