aboutsummaryrefslogtreecommitdiffstats
path: root/cmds-receive.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2013-12-10 18:17:10 +0100
committerChris Mason <clm@fb.com>2014-01-31 08:22:13 -0800
commitd47b4e4dd284a7668b517671d4dd5de35e8a912d (patch)
treecdaaa90a4dd6a95b17f0c89cd4136609c8566514 /cmds-receive.c
parentb085b145b6a476b0f864d741bdf1196a39a87fc0 (diff)
downloadbtrfs-progs-d47b4e4dd284a7668b517671d4dd5de35e8a912d.tar.gz
btrfs-progs-d47b4e4dd284a7668b517671d4dd5de35e8a912d.tar.xz
btrfs-progs-d47b4e4dd284a7668b517671d4dd5de35e8a912d.zip
btrfs-progs: convert remaining uuid buffer declarations to BTRFS_UUID_UNPARSED_SIZE
Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'cmds-receive.c')
-rw-r--r--cmds-receive.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmds-receive.c b/cmds-receive.c
index 95dc3ec..ed44107 100644
--- a/cmds-receive.c
+++ b/cmds-receive.c
@@ -78,7 +78,7 @@ static int finish_subvol(struct btrfs_receive *r)
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)
@@ -149,7 +149,7 @@ static int process_subvol(const char *path, const u8 *uuid, u64 ctransid,
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)
@@ -196,7 +196,7 @@ static int process_snapshot(const char *path, const u8 *uuid, u64 ctransid,
{
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;