Commit 307e3c13 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Optimize bch2_trans_init()



Now we store the transaction's fn idx in a local variable, instead of
redoing the lookup every time we call bch2_trans_init().

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 29aa78f1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment