ext4: Refactor mpage_map_and_submit_buffers function
authorRitesh Harjani <riteshh@linux.ibm.com>
Wed, 16 Oct 2019 07:37:09 +0000 (13:07 +0530)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 22 Oct 2019 19:32:53 +0000 (15:32 -0400)
commit2943fdbc688e7a1b4d9e3bc76a8e5ba624550213
tree567a74ce794df1ae6ba19af5965a00f6c4661dd3
parenta00713ea982b7f2f9880a336b03bbf70f2202cbf
ext4: Refactor mpage_map_and_submit_buffers function

This patch refactors mpage_map_and_submit_buffers to take
out the page buffers processing, as a separate function.
This will be required to add support for blocksize < pagesize
for dioread_nolock feature.

No functionality change in this patch.

Signed-off-by: Ritesh Harjani <riteshh@linux.ibm.com>
Link: https://lore.kernel.org/r/20191016073711.4141-4-riteshh@linux.ibm.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c