btrfs: use memset_page instead of opencoding it
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Thu, 23 Nov 2023 15:47:18 +0000 (07:47 -0800)
committerDavid Sterba <dsterba@suse.com>
Fri, 15 Dec 2023 19:27:03 +0000 (20:27 +0100)
commitb0d823840936dd63ae41d93b690288de767849d6
treeb1cddfc95c85718c6f14c51c99a0fbd388666d55
parent2aae747a4938c2c3c398ff55aa2ddaf51b135899
btrfs: use memset_page instead of opencoding it

Use memset_page() in memset_extent_buffer() instead of opencoding it.

This does not not change any functionality.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c