@@ -282,41 +282,42 @@ struct btrfs_root {
282282 * for every name in a directory.
283283 */
284284#define BTRFS_DIR_ITEM_KEY 2
285+ #define BTRFS_DIR_INDEX_KEY 3
285286/*
286287 * inline data is file data that fits in the btree.
287288 */
288- #define BTRFS_INLINE_DATA_KEY 3
289+ #define BTRFS_INLINE_DATA_KEY 4
289290/*
290291 * extent data is for data that can't fit in the btree. It points to
291292 * a (hopefully) huge chunk of disk
292293 */
293- #define BTRFS_EXTENT_DATA_KEY 4
294+ #define BTRFS_EXTENT_DATA_KEY 5
294295/*
295296 * csum items have the checksums for data in the extents
296297 */
297- #define BTRFS_CSUM_ITEM_KEY 5
298+ #define BTRFS_CSUM_ITEM_KEY 6
298299
299300/*
300301 * root items point to tree roots. There are typically in the root
301302 * tree used by the super block to find all the other trees
302303 */
303- #define BTRFS_ROOT_ITEM_KEY 6
304+ #define BTRFS_ROOT_ITEM_KEY 7
304305/*
305306 * extent items are in the extent map tree. These record which blocks
306307 * are used, and how many references there are to each block
307308 */
308- #define BTRFS_EXTENT_ITEM_KEY 7
309+ #define BTRFS_EXTENT_ITEM_KEY 8
309310
310311/*
311312 * the inode map records which inode numbers are in use and where
312313 * they actually live on disk
313314 */
314- #define BTRFS_INODE_MAP_ITEM_KEY 8
315+ #define BTRFS_INODE_MAP_ITEM_KEY 9
315316/*
316317 * string items are for debugging. They just store a short string of
317318 * data in the FS
318319 */
319- #define BTRFS_STRING_ITEM_KEY 9
320+ #define BTRFS_STRING_ITEM_KEY 10
320321
321322static inline u64 btrfs_inode_generation (struct btrfs_inode_item * i )
322323{
0 commit comments