summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/btree_iter.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-04-07 23:54:00 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2024-05-08 23:29:18 +0200
commitbf5f6a689b6037cb164e110dca37042aab9c0e09 (patch)
tree9a682195be15b9a7d456b79376e4e7e2cda84073 /fs/bcachefs/btree_iter.h
parentbcachefs: mark_superblock cleanup (diff)
downloadlinux-bf5f6a689b6037cb164e110dca37042aab9c0e09.tar.xz
linux-bf5f6a689b6037cb164e110dca37042aab9c0e09.zip
bcachefs: __BTREE_ITER_ALL_SNAPSHOTS -> BTREE_ITER_SNAPSHOT_FIELD
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 52030929da0a..57323d5e94a9 100644
--- a/fs/bcachefs/btree_iter.h
+++ b/fs/bcachefs/btree_iter.h
@@ -420,7 +420,7 @@ static inline unsigned __bch2_btree_iter_flags(struct btree_trans *trans,
btree_id_is_extents(btree_id))
flags |= BTREE_ITER_IS_EXTENTS;
- if (!(flags & __BTREE_ITER_ALL_SNAPSHOTS) &&
+ if (!(flags & BTREE_ITER_SNAPSHOT_FIELD) &&
!btree_type_has_snapshot_field(btree_id))
flags &= ~BTREE_ITER_ALL_SNAPSHOTS;