]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: stop using generic_writepages in gfs2_ail1_start_one
authorChristoph Hellwig <hch@lst.de>
Fri, 22 Jul 2022 17:59:15 +0000 (10:59 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 22 Jul 2022 17:59:15 +0000 (10:59 -0700)
commitc684351eef436b8753bd10eb1adffa65350c8097
tree4b849228f7e7f1625d2e950d1d4d843da44e69a3
parent4b23ee077b26f7e9f66562f1696d562d61ed51dc
gfs2: stop using generic_writepages in gfs2_ail1_start_one

Use filemap_fdatawrite_wbc instead of generic_writepages in
gfs2_ail1_start_one so that the functin can also cope with address_space
operations that only implement ->writepages and to properly account
for cgroup writeback.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/gfs2/log.c