On Tue, Jan 24, 2023 at 08:41:11AM -0500, Sasha Levin wrote:
From: Christoph Hellwig hch@lst.de
[ Upstream commit 26ecf243e407be54807ad67210f7e83b9fad71ea ]
write_one_page is an awkward interface that expects the page locked and ->writepage to be implemented. Replace that by zeroing the signature bytes and synchronize the block device page using the proper bdev helpers.
Signed-off-by: Christoph Hellwig hch@lst.de Reviewed-by: David Sterba dsterba@suse.com [ update changelog ] Signed-off-by: David Sterba dsterba@suse.com Signed-off-by: Sasha Levin sashal@kernel.org
Please drop this patch and "btrfs: factor out scratching of one regular super block" from all stable queues. It's not a fix, only preparatory work to allow removing write_one_page from MM code.
Commit ids: 0e0078f72be81bbb and 26ecf243e407be54