Displaying 1 result from an estimated 1 matches for "create_ext2_image".
2008 Jan 07
1
[PATCH]Add rollback support for the converter
...lock > data.first_block) {
ret = record_file_blocks(trans, root, objectid, inode,
data.first_block, 0, last_block -
- data.first_block, 1);
+ data.first_block, 0);
if (ret)
return ret;
}
@@ -802,8 +818,8 @@ fail:
/*
* Create the ext2fs image file.
*/
-static int create_ext2_image(struct btrfs_root *root, char *name,
- int namelen, ext2_filsys ext2_fs)
+static int create_ext2_image(struct btrfs_root *root, ext2_filsys ext2_fs,
+ const char *name)
{
int ret;
struct btrfs_key key;
@@ -837,7 +853,8 @@ static int create_ext2_image(struct btrf
btrfs_set_stack...