mm,jfs: move write_one_page/folio_write_one to jfs
authorChristoph Hellwig <hch@lst.de>
Tue, 7 Mar 2023 14:31:25 +0000 (15:31 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 13 Mar 2023 00:00:42 +0000 (20:00 -0400)
commit2d683175827171c982f91996fdbef4f3fd8b1b01
tree90a974eb9cf013a5ceeec8d78e6f52c254903372
parent8e4bfd136410df75c915fb462914b36e6e5fdfc0
mm,jfs: move write_one_page/folio_write_one to jfs

The last remaining user of folio_write_one through the write_one_page
wrapper is jfs, so move the functionality there and hard code the
call to metapage_writepage.

Note that the use of the pagecache by the JFS 'metapage' buffer cache
is a bit odd, and we could probably do without VM-level dirty tracking
at all, but that's a change for another time.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/jfs/jfs_metapage.c
include/linux/pagemap.h
mm/page-writeback.c