commit | 26ecf243e407be54807ad67210f7e83b9fad71ea | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Nov 21 18:47:49 2022 +0100 |
committer | David Sterba <dsterba@suse.com> | Mon Jan 16 19:46:19 2023 +0100 |
tree | 633c8aed0da395c197465be7f640677dc0133268 | |
parent | 0e0078f72be81bbb2a02b229fd2cec8ad63e4fb1 [diff] |
btrfs: stop using write_one_page in btrfs_scratch_superblock 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>