Commit c96f108b authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Optimize bch2_trans_iter_init()



When flags & btree_id are constants, we can constant fold the entire
calculation of the actual iterator flags - and the whole thing becomes
small enough to inline.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 4d868d18
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