Displaying 7 results from an estimated 7 matches for "do_ldmtool_diskgroup_volum".
Did you mean:
do_ldmtool_diskgroup_volumes
2017 Nov 03
2
[PATCH] daemon: ldm: avoid manual free()
...umes implementation, causing double-free on
success.
Updates commit 950951c67de61da27dceca8ffb2079031c13e43b.
---
daemon/ldm.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/daemon/ldm.c b/daemon/ldm.c
index 1bab28989..2f4d2aef3 100644
--- a/daemon/ldm.c
+++ b/daemon/ldm.c
@@ -286,7 +286,6 @@ do_ldmtool_diskgroup_volumes (const char *diskgroup)
reply_with_error ("%s", err);
return NULL;
}
- free (err);
return parse_json_get_object_string_list (out, "volumes",
__func__, "ldmtool show diskgroup");
--
2.13.6
2017 Nov 03
0
Re: [PATCH] daemon: ldm: avoid manual free()
...t;
> Updates commit 950951c67de61da27dceca8ffb2079031c13e43b.
> ---
> daemon/ldm.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/daemon/ldm.c b/daemon/ldm.c
> index 1bab28989..2f4d2aef3 100644
> --- a/daemon/ldm.c
> +++ b/daemon/ldm.c
> @@ -286,7 +286,6 @@ do_ldmtool_diskgroup_volumes (const char *diskgroup)
> reply_with_error ("%s", err);
> return NULL;
> }
> - free (err);
>
> return parse_json_get_object_string_list (out, "volumes",
> __func__, "ldmtool show diskgrou...
2012 Dec 07
2
[PATCH] Add support for Windows dynamic disks (libldm / ldmtool).
This is just an initial version of the patch, not to be
applied. It implements just the diskgroup functions, ie.
corresponding to these ldmtool commands:
* ldmtool scan
* ldmtool show diskgroup <guid>
I have chosen yajl as the JSON parsing library (don't worry,
this is optional). You will also, of course, need ldmtool
which is not packaged in anything except Fedora.
Rich.
2017 Jul 27
0
[PATCH v2] daemon: Remove GUESTFSD_EXT_CMD.
...&err, str_ldmtool, "show", "diskgroup", diskgroup, NULL);
+ r = command (&out, &err, "ldmtool", "show", "diskgroup", diskgroup, NULL);
if (r == -1) {
reply_with_error ("%s", err);
return NULL;
@@ -365,7 +363,7 @@ do_ldmtool_diskgroup_volumes (const char *diskgroup)
int r;
CLEANUP_FREE char *out = NULL, *err = NULL;
- r = command (&out, &err, str_ldmtool, "show", "diskgroup", diskgroup, NULL);
+ r = command (&out, &err, "ldmtool", "show", "diskgroup", diskgrou...
2017 Jul 24
0
[PATCH 2/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
...&err, str_ldmtool, "show", "diskgroup", diskgroup, NULL);
+ r = command (&out, &err, "ldmtool", "show", "diskgroup", diskgroup, NULL);
if (r == -1) {
reply_with_error ("%s", err);
return NULL;
@@ -365,7 +365,7 @@ do_ldmtool_diskgroup_volumes (const char *diskgroup)
int r;
CLEANUP_FREE char *out = NULL, *err = NULL;
- r = command (&out, &err, str_ldmtool, "show", "diskgroup", diskgroup, NULL);
+ r = command (&out, &err, "ldmtool", "show", "diskgroup", diskgrou...
2017 Jul 27
3
[PATCH v2] daemon: Remove GUESTFSD_EXT_CMD.
This is a simpler patch that removes GUESTFSD_EXT_CMD completely.
2017 Jul 24
6
[PATCH 0/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
Replace GUESTFSD_EXT_CMD with a command line option
‘./guestfsd --print-external-commands’