Displaying 1 result from an estimated 1 matches for "btrfs_orphan_dir_item_key".
2008 Jun 24
1
[RFC][PATCH] btrfs orphan code
...on-reference counted roots */
struct list_head dirty_list;
+
+ /* orphan crap */
+ struct inode *orphan_dir;
+ struct list_head orphan_list;
};
/*
@@ -624,6 +629,7 @@ struct btrfs_root {
#define BTRFS_INODE_ITEM_KEY 1
#define BTRFS_INODE_REF_KEY 2
#define BTRFS_XATTR_ITEM_KEY 8
+#define BTRFS_ORPHAN_DIR_ITEM_KEY 9
/* reserve 2-15 close to the inode for later flexibility */
/*
@@ -1485,7 +1491,7 @@ int btrfs_find_dead_roots(struct btrfs_r
/* dir-item.c */
int btrfs_insert_dir_item(struct btrfs_trans_handle *trans, struct btrfs_root
*root, const char *name, int name_len, u64 dir,
- struct btr...