search for: process_snapshot

Displaying 4 results from an estimated 4 matches for "process_snapshot".

2013 Dec 17
9
[PATCH] Btrfs-progs: receive: fix the case that we can not find subvolume
...x ed44107..c2cf8a3 100644 --- a/cmds-receive.c +++ b/cmds-receive.c @@ -40,6 +40,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_pa...
2013 Apr 09
19
[PATCH 00/17] Btrfs-progs: some receive related patches
Most fixes are trivial. The one from Alex is fixing a real bug that several users have reported. Alex sent the patch half a year ago and it was not yet integrated. The patch "Use /proc/mounts instead of /etc/mtab" is a repost. The patch "btrfs-receive optionally honors the end-cmd" is a preparation step to allow backup tools to multiplex a single communication stream (e.g. a
2013 Dec 18
0
[PATCH v2] Btrfs-progs: receive: fix the case that we can not find the subvolume
...roach to fix the problem --- cmds-receive.c | 11 +++++++++-- man/btrfs.8.in | 15 ++++++++++----- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/cmds-receive.c b/cmds-receive.c index ed44107..cce37a7 100644 --- a/cmds-receive.c +++ b/cmds-receive.c @@ -257,8 +257,15 @@ static int process_snapshot(const char *path, const u8 *uuid, u64 ctransid, O_RDONLY | O_NOATIME); if (args_v2.fd < 0) { ret = -errno; - fprintf(stderr, "ERROR: open %s failed. %s\n", - parent_subvol->path, strerror(-ret)); + if (errno != ENOENT) + fprintf(stderr, "ERROR: open %s failed. %...
2016 Sep 16
0
Wine release 1.9.19
...release implementation. jscript: Fix definition of JSSTR_MAX_LENGTH. vcomp: Implement _vcomp_reduction_{u,i}4 and add tests. vcomp: Implement _vcomp_reduction_{u,i}2 and add tests. vcomp: Implement _vcomp_reduction_{u,i}1 and add tests. server: Do not store unix_pid in process_snapshot struct. jscript: Change prototype of jsstr_alloc_buf and fix some error handling issues. jscript: Do not include terminating \0 in result returned by Date_toLocale{Date,Time}String. user32: Only call GlobalUnlock when GlobalLock was successful. user32: Add missing calls to G...