Displaying 1 result from an estimated 1 matches for "dropping_root_item_record".
2013 Oct 17
0
[PATCH] Btrfs-progs: fix btrfsck improper prompt on dropping snapshots
...101 +++++++++++++++++++++++++++++++++++++++++++++++++++++------
1 file changed, 91 insertions(+), 10 deletions(-)
diff --git a/cmds-check.c b/cmds-check.c
index 668af15..268cc64 100644
--- a/cmds-check.c
+++ b/cmds-check.c
@@ -119,6 +119,12 @@ struct inode_backref {
char name[0];
};
+struct dropping_root_item_record {
+ struct list_head list;
+ struct btrfs_root_item ri;
+ struct btrfs_key found_key;
+};
+
#define REF_ERR_NO_DIR_ITEM (1 << 0)
#define REF_ERR_NO_DIR_INDEX (1 << 1)
#define REF_ERR_NO_INODE_REF (1 << 2)
@@ -3600,6 +3606,21 @@ static int check_csums(struct btrfs_root *root)...