]> 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)
commit04e2746a04fa6bf2b3c99be885077f6d61b8da4b
tree394c63413db876b11f2bf69d090c104695c7c1af
parentff2cdb77d8a0e11452cabd086d75d2e6a995a8de
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