search for: relocate_one_reference

Displaying 1 result from an estimated 1 matches for "relocate_one_reference".

2009 Jan 21
0
[PATCH] Progs: update convert for uninitialized block groups
...maps appropriately. + */ + ino = 1; + while (ino <= ext2_fs->super->s_inodes_count) { + ext2_ino_t foo; + ext2fs_new_inode(ext2_fs, ino, 0, NULL, &foo); + ino += EXT2_INODES_PER_GROUP(ext2_fs->super); + } + *ret_fs = ext2_fs; return 0; fail: @@ -1929,6 +1941,7 @@ static int relocate_one_reference(struct key.offset = 0; } btrfs_init_path(&path); +recow: ret = btrfs_search_slot(trans, root, &key, &path, -1, 1); if (ret < 0) goto fail; @@ -1936,8 +1949,17 @@ static int relocate_one_reference(struct leaf = path.nodes[0]; nritems = btrfs_header_nritems(leaf); w...