ext4: move mpage_put_bnr_to_bhs()'s functionality to mpage_da_submit_io()
authorTheodore Ts'o <tytso@mit.edu>
Thu, 28 Oct 2010 01:30:10 +0000 (21:30 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 28 Oct 2010 01:30:10 +0000 (21:30 -0400)
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>

No differences found