Displaying 1 result from an estimated 1 matches for "btrfs_uuid_unparsed_size".
2013 Dec 17
9
[PATCH] Btrfs-progs: receive: fix the case that we can not find subvolume
...7 @@
#include <sys/types.h>
#include <sys/xattr.h>
#include <uuid/uuid.h>
+#include <sys/mount.h>
#include "ctree.h"
#include "ioctl.h"
@@ -199,6 +200,10 @@ static int process_snapshot(const char *path, const u8 *uuid, u64 ctransid,
char uuid_str[BTRFS_UUID_UNPARSED_SIZE];
struct btrfs_ioctl_vol_args_v2 args_v2;
struct subvol_info *parent_subvol = NULL;
+ char *dev = NULL;
+ char tmp_name[15] = "btrfs-XXXXXX";
+ char tmp_dir[30] = "/tmp";
+ char *full_path = NULL;
ret = finish_subvol(r);
if (ret < 0)
@@ -253,13 +258,47 @@ static int...