summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/btree_iter.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-08-05 20:41:29 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 23:08:09 +0200
commite4ccb251312003a9feed402e1958d0fef24987f1 (patch)
treed26f689e865e3138b3ee69f3eecc8cb08ba20487 /fs/bcachefs/btree_iter.h
parentbcachefs: lift ordering restriction on 0 size extents (diff)
downloadlinux-e4ccb251312003a9feed402e1958d0fef24987f1.tar.xz
linux-e4ccb251312003a9feed402e1958d0fef24987f1.zip
bcachefs: make struct btree_iter a bit smaller
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_iter.h')
-rw-r--r--fs/bcachefs/btree_iter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_iter.h b/fs/bcachefs/btree_iter.h
index 315cba28f6b2..1667ba448a18 100644
--- a/fs/bcachefs/btree_iter.h
+++ b/fs/bcachefs/btree_iter.h
@@ -39,7 +39,7 @@ static inline bool __iter_has_node(const struct btree_iter *iter,
*/
return iter->l[b->level].b == b &&
- iter->lock_seq[b->level] >> 1 == b->lock.state.seq >> 1;
+ iter->l[b->level].lock_seq >> 1 == b->lock.state.seq >> 1;
}
static inline struct btree_iter *