OSDN Git Service

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)
commit4dae666a6286ce5d9f4890f8b88af646473686f0
tree394c63413db876b11f2bf69d090c104695c7c1af
parentf2998ebd32e25e432e3d0058552e4777c5aba75a
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