Skip to content
Commit 1de3e3df authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

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: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 3ecdb3a1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment