Displaying 1 result from an estimated 1 matches for "cur_root".
Did you mean:
br_root
2009 Jan 21
0
[PATCH] Progs: update convert for uninitialized block groups
...if (data.num_blocks > 0) {
ret = record_file_blocks(trans, root, objectid, &inode,
data.first_block, data.disk_block,
- data.num_blocks, 0);
+ data.num_blocks, datacsum);
if (ret)
goto fail;
}
@@ -2218,7 +2240,7 @@ next:
ret = btrfs_commit_transaction(trans, cur_root);
BUG_ON(ret);
- if (num_refs > 0 && pass++ < 4)
+ if (num_refs > 0 && pass++ < 16)
goto again;
ret = (num_refs > 0) ? -1 : 0;
@@ -2537,6 +2559,7 @@ int do_rollback(const char *devname, int
{
int fd;
int ret;
+ int i;
struct btrfs_root *root;
struc...