int ret;
int subvol_fd = -1;
struct btrfs_ioctl_received_subvol_args rs_args;
- char uuid_str[128];
+ char uuid_str[BTRFS_UUID_UNPARSED_SIZE];
u64 flags;
if (r->cur_subvol == NULL)
int ret;
struct btrfs_receive *r = user;
struct btrfs_ioctl_vol_args args_v1;
- char uuid_str[128];
+ char uuid_str[BTRFS_UUID_UNPARSED_SIZE];
ret = finish_subvol(r);
if (ret < 0)
{
int ret;
struct btrfs_receive *r = user;
- char uuid_str[128];
+ char uuid_str[BTRFS_UUID_UNPARSED_SIZE];
struct btrfs_ioctl_vol_args_v2 args_v2;
struct subvol_info *parent_subvol = NULL;
struct btrfs_root_item *ri;
struct btrfs_root_item root_item;
int len;
- char uuid_str[128];
+ char uuid_str[BTRFS_UUID_UNPARSED_SIZE];
ri = btrfs_item_ptr(leaf, slot, struct btrfs_root_item);
len = btrfs_item_size_nr(leaf, slot);
void *user)
{
struct recv_args *r = user;
- char uuid_str[128];
+ char uuid_str[BTRFS_UUID_UNPARSED_SIZE];
r->full_subvol_path = path_cat(r->root_path, path);
uuid_unparse(uuid, uuid_str);
void *user)
{
struct recv_args *r = user;
- char uuid_str[128];
- char parent_uuid_str[128];
+ char uuid_str[BTRFS_UUID_UNPARSED_SIZE];
+ char parent_uuid_str[BTRFS_UUID_UNPARSED_SIZE];
r->full_subvol_path = path_cat(r->root_path, path);
uuid_unparse(uuid, uuid_str);