Skip to content
Snippets Groups Projects
Commit c82f823c authored by David Sterba's avatar David Sterba
Browse files

btrfs: tie extent buffer and it's token together


Further simplifaction of the get/set helpers is possible when the token
is uniquely tied to an extent buffer. A condition and an assignment can
be avoided.

The initializations are moved closer to the first use when the extent
buffer is valid. There's one exception in __push_leaf_left where the
token is reused.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 48bc3950
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment