]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: use the token::eb for all set/get helpers
authorDavid Sterba <dsterba@suse.com>
Wed, 29 Apr 2020 00:13:57 +0000 (02:13 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 May 2020 09:25:31 +0000 (11:25 +0200)
commit22a85ad82ef98ca5c22fdcd5897d95475316ff6a
tree394c63413db876b11f2bf69d090c104695c7c1af
parent2d351a9523d279116e8f69f3d6ffaabe57c72c99
btrfs: use the token::eb for all set/get helpers

The token stores a copy of the extent buffer pointer but does not make
any use of it besides sanity checks. We can use it and drop the eb
parameter from several functions, this patch only switches the use
inside the set/get helpers.

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