From: Theodore Ts'o Date: Thu, 28 Oct 2010 01:30:09 +0000 (-0400) Subject: ext4: inline ext4_writepage() into mpage_da_submit_io() X-Git-Tag: v2.6.37-rc1~76^2^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb20d5188366f04d96d2e07b1240cc92170ade40;p=pandora-kernel.git ext4: inline ext4_writepage() into mpage_da_submit_io() As a prepratory step to switching to bio_submit, inline ext4_writepage() into mpage_da_submit() and then simplify things a bit. This makes it clearer what mpage_da_submit needs to do. Also, move the ClearPageChecked(page) call into __ext4_journalled_writepage(), as a minor bit of cleanup refactoring. This also allows us to pull i_size_read() and ext4_should_journal_data() out of the loop, which should be a very minor CPU savings. Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed