commit | 1de3e3df917459422cb2aecac440febc8879d410 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Wed Oct 27 21:30:10 2010 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Wed Oct 27 21:30:10 2010 -0400 |
tree | 3ff2584fa323ec855dec74b7e842e5e4abe39597 | |
parent | 3ecdb3a193a5f224f084c04a63aa28cdccf4d7d0 [diff] |
ext4: move mpage_put_bnr_to_bhs()'s functionality to mpage_da_submit_io() This massively simplifies the ext4_da_writepages() code path by completely removing mpage_put_bnr_bhs(), which is almost 100 lines of code iterating over a set of pages using pagevec_lookup(), and folds that functionality into mpage_da_submit_io()'s existing pagevec_lookup() loop. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>