diff options
author | Theodore Ts'o <tytso@mit.edu> | 2010-10-27 21:30:09 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2010-10-27 21:30:09 -0400 |
commit | cb20d5188366f04d96d2e07b1240cc92170ade40 (patch) | |
tree | 6fe424e1ccdd36f8b4a60e144cfdaa577296926e /fs/ext4/dir.c | |
parent | a42afc5f56f319107e987aa6adf2f65d93d527c7 (diff) | |
download | linux-cb20d5188366f04d96d2e07b1240cc92170ade40.tar.gz linux-cb20d5188366f04d96d2e07b1240cc92170ade40.tar.bz2 linux-cb20d5188366f04d96d2e07b1240cc92170ade40.zip |
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" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/dir.c')
0 files changed, 0 insertions, 0 deletions