Re: [PATCH AUTOSEL 5.15 09/14] btrfs: factor out scratching of one regular super block

From: Christoph Hellwig
Date: Tue Jan 24 2023 - 09:11:04 EST


On Tue, Jan 24, 2023 at 08:42:52AM -0500, Sasha Levin wrote:
> From: Christoph Hellwig <hch@xxxxxx>
>
> [ Upstream commit 0e0078f72be81bbb2a02b229fd2cec8ad63e4fb1 ]
>
> btrfs_scratch_superblocks open codes scratching super block of a
> non-zoned super block. Split the code to read, zero and write the
> superblock for regular devices into a separate helper.

Why is this a stable candidate?