]> www.infradead.org Git - users/willy/pagecache.git/commit
fs: don't call ->writepage from __mpage_writepage
authorChristoph Hellwig <hch@lst.de>
Mon, 13 Jun 2022 05:37:14 +0000 (07:37 +0200)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 9 Jul 2022 00:09:52 +0000 (20:09 -0400)
commitcf95d50205f62c4f5f538676def847292cf39fa9
treeecb59259303cf86992024dff5ad3bd9bef07be82
parent215e71b6ee7ad3363c6e6bd979adbb56e070f6de
fs: don't call ->writepage from __mpage_writepage

All callers of mpage_writepage use block_write_full_page as their
->writepage implementation when called from mpage_writepages
(although for ntfs3 this is obsfucated a bit).

Just call block_write_full_page directly instead of going through
the ->writepage indirection.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
fs/mpage.c