diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2022-06-27 21:23:51 +0800 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-07-29 18:07:14 -0700 |
commit | ccac11da679bc283a5fe3db694d9f4f40245a07e (patch) | |
tree | 4bfd681823e2f89286d24ac5546bca5015df21ae /mm/swap.c | |
parent | 7f82f922319ede486540e8746769865b9508d2c2 (diff) |
filemap: minor cleanup for filemap_write_and_wait_range
Restructure the logic in filemap_write_and_wait_range to simplify the code
and make it more consistent with file_write_and_wait_range. No functional
change intended.
Link: https://lkml.kernel.org/r/20220627132351.55680-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions