diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-11-25 06:40:27 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:09:46 +0200 |
commit | c96f108b053b394d622f56f2bcefeccb32d0394c (patch) | |
tree | 72902a176eac826bfa2a1d5e24b4d38b51852d0f /fs/bcachefs/util.c | |
parent | bcachefs: More dio inlining (diff) | |
download | linux-c96f108b053b394d622f56f2bcefeccb32d0394c.tar.xz linux-c96f108b053b394d622f56f2bcefeccb32d0394c.zip |
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: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/util.c')
0 files changed, 0 insertions, 0 deletions