]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/btree_types.h
Update bcachefs sources to a8b3ce7599 fixup! bcachefs: Eliminate more PAGE_SIZE uses
[bcachefs-tools-debian] / libbcachefs / btree_types.h
index 39e93da10ac4b455ea65bdc347da486fc7a1c5b8..f942ccf62ff428a07bca323703e8e0a3b04542d8 100644 (file)
@@ -614,6 +614,10 @@ static inline bool btree_iter_is_extents(struct btree_iter *iter)
         (1U << BTREE_ID_dirents)|                      \
         (1U << BTREE_ID_xattrs))
 
+#define BTREE_ID_HAS_PTRS                              \
+       ((1U << BTREE_ID_extents)|                      \
+        (1U << BTREE_ID_reflink))
+
 static inline bool btree_type_has_snapshots(enum btree_id id)
 {
        return (1 << id) & BTREE_ID_HAS_SNAPSHOTS;