diff options
Diffstat (limited to 'fs/bcachefs')
-rw-r--r-- | fs/bcachefs/bkey_methods.h | 2 | ||||
-rw-r--r-- | fs/bcachefs/btree_types.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/bkey_methods.h b/fs/bcachefs/bkey_methods.h index 346b3ceb136d..ec4638150eae 100644 --- a/fs/bcachefs/bkey_methods.h +++ b/fs/bcachefs/bkey_methods.h @@ -80,7 +80,7 @@ static inline int bch2_mark_key(struct btree_trans *trans, } enum btree_update_flags { - __BTREE_UPDATE_INTERNAL_SNAPSHOT_NODE, + __BTREE_UPDATE_INTERNAL_SNAPSHOT_NODE = __BTREE_ITER_FLAGS_END, __BTREE_UPDATE_NOJOURNAL, __BTREE_UPDATE_KEY_CACHE_RECLAIM, diff --git a/fs/bcachefs/btree_types.h b/fs/bcachefs/btree_types.h index bc4aa26b9486..fc8a3326451f 100644 --- a/fs/bcachefs/btree_types.h +++ b/fs/bcachefs/btree_types.h @@ -211,6 +211,7 @@ static const u16 BTREE_ITER_FILTER_SNAPSHOTS = 1 << 12; static const u16 BTREE_ITER_NOPRESERVE = 1 << 13; static const u16 BTREE_ITER_CACHED_NOFILL = 1 << 14; static const u16 BTREE_ITER_KEY_CACHE_FILL = 1 << 15; +#define __BTREE_ITER_FLAGS_END 16 enum btree_path_uptodate { BTREE_ITER_UPTODATE = 0, |