btrfs: constify extent_buffer in the API functions
authorDavid Sterba <dsterba@suse.com>
Wed, 29 Apr 2020 01:04:10 +0000 (03:04 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 May 2020 09:25:34 +0000 (11:25 +0200)
commit2b48966a4da4bcb35f0883bc23dcaf63fcb8557f
tree29689c92015f465d12a82d0b5e8332bb5ae727d1
parentdb3756c879773c4c7986fce3dac8355f210df807
btrfs: constify extent_buffer in the API functions

There are many helpers around extent buffers, found in extent_io.h and
ctree.h. Most of them can be converted to take constified eb as there
are no changes to the extent buffer structure itself but rather the
pages.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/struct-funcs.c