]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit48b6032e9fbee95a661cb5822a785e8c549df4f6
tree29689c92015f465d12a82d0b5e8332bb5ae727d1
parent8d1ded9864216255f6c2370d64485c85512f5a20
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