summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/util.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-11-25 06:40:27 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 23:09:46 +0200
commitc96f108b053b394d622f56f2bcefeccb32d0394c (patch)
tree72902a176eac826bfa2a1d5e24b4d38b51852d0f /fs/bcachefs/util.c
parentbcachefs: More dio inlining (diff)
downloadlinux-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