]> 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)
commit23e0d23532eb3ff9c7f85f0edb874bc02960ac87
tree4b849228f7e7f1625d2e950d1d4d843da44e69a3
parent177de056d8d184cbe02a5c785d20da88ea25b2f6
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