summaryrefslogtreecommitdiff
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-11-21 18:47:49 +0100
committerDavid Sterba <dsterba@suse.com>2023-01-16 19:46:19 +0100
commit26ecf243e407be54807ad67210f7e83b9fad71ea (patch)
tree633c8aed0da395c197465be7f640677dc0133268 /fs/btrfs/file.c
parent0e0078f72be81bbb2a02b229fd2cec8ad63e4fb1 (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>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions