]> www.infradead.org Git - users/jedix/linux-maple.git/commit
filemap: minor cleanup for filemap_write_and_wait_range
authorMiaohe Lin <linmiaohe@huawei.com>
Mon, 27 Jun 2022 13:23:51 +0000 (21:23 +0800)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 3 Aug 2022 18:17:09 +0000 (14:17 -0400)
commit7d92d00eca1aed6337fa426b8b53405c1542f224
tree676134ee4ba704e3ef11384d187dbec7ba03f27f
parentc9f2e6040c87f2d88214c73a2b8235aba1773a68
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>
mm/filemap.c