fixes compilation warnings with gcc 4.6.0
20110429
Signed-off-by: Hubert Kario <kario@wit.edu.pl>
Signed-off-by: Hugo Mills <hugo@carfax.org.uk>
struct btrfs_trans_handle *trans;
struct stat root_st;
- int root_len;
struct directory_name_entry dir_head;
goto fail;
}
- root_len = strlen(source_dir);
-
INIT_LIST_HEAD(&dir_head.list);
trans = btrfs_start_transaction(root, 1);
struct list_head *dev_list = &extent_root->fs_info->fs_devices->devices;
struct list_head *cur;
struct map_lookup *map;
- u64 physical;
u64 calc_size = 8 * 1024 * 1024;
int num_stripes = 1;
int sub_stripes = 0;
btrfs_set_stack_stripe_devid(stripe, device->devid);
btrfs_set_stack_stripe_offset(stripe, dev_offset);
memcpy(stripe->dev_uuid, device->uuid, BTRFS_UUID_SIZE);
- physical = dev_offset;
index++;
}