]> 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)
commit82b94aadfe774c6277017e39570a60fa58d7631a
tree29689c92015f465d12a82d0b5e8332bb5ae727d1
parentfc1d8367066077c7f29987e15b5367c9950dd90a
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