search for: get_inode_rec

Displaying 2 results from an estimated 2 matches for "get_inode_rec".

2010 Feb 01
0
[PATCH] btrfsck: Remove superfluous WARN_ON
...ble/btrfsck.c 2009-09-28 15:54:55.980479398 +0800 +++ btrfs-progs-2/btrfsck.c 2010-01-31 09:46:24.645485459 +0800 @@ -581,7 +581,6 @@ again: } ret = insert_existing_cache_extent(dst, &ins->cache); if (ret == -EEXIST) { - WARN_ON(src == &src_node->root_cache); conflict = get_inode_rec(dst, rec->ino, 1); merge_inode_recs(rec, conflict, dst); if (rec->checked) { -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
2012 Apr 09
0
[PATCH] Btrfs-progs: make btrfsck aware of free space inodes
...ache items. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com> --- btrfsck.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/btrfsck.c b/btrfsck.c index 7aac736..572dde0 100644 --- a/btrfsck.c +++ b/btrfsck.c @@ -274,6 +274,9 @@ static struct inode_record *get_inode_rec(struct cache_tree *inode_cache, node->cache.size = 1; node->data = rec; + if (ino == BTRFS_FREE_INO_OBJECTID) + rec->found_link = 1; + ret = insert_existing_cache_extent(inode_cache, &node->cache); BUG_ON(ret); } @@ -1015,6 +1018,10 @@ static int process_one_leaf(...