search for: ef3fc3578590

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

2011 Dec 22
1
[PATCH] blkid: remove the -o export option
..., device, NULL); if (r == -1) { reply_with_error("%s", err); goto error; @@ -132,7 +132,7 @@ blkid_with_p_opt(const char *device) goto error; } - /* Parse the output of blkid -p -i -o export: + /* Parse the output of blkid -p -i: * UUID=b6d83437-c6b4-4bf0-8381-ef3fc3578590 * VERSION=1.0 * TYPE=ext2 -- 1.7.8
2011 Dec 03
1
[PATCH] NEW API: add blkid command to print the attributes of the device
...ror("%s", err); + goto error; + } + + /* Split the command output into lines */ + lines = split_lines(out); + if (lines == NULL) { + reply_with_perror("malloc"); + goto error; + } + + /* Parse the output of blkid -p -i -o export: + * UUID=b6d83437-c6b4-4bf0-8381-ef3fc3578590 + * VERSION=1.0 + * TYPE=ext2 + * USAGE=filesystem + * MINIMUM_IO_SIZE=512 + * PHYSICAL_SECTOR_SIZE=512 + * LOGICAL_SECTOR_SIZE=512 + * PART_ENTRY_SCHEME=dos + * PART_ENTRY_TYPE=0x83 + * PART_ENTRY_NUMBER=6 + * PART_ENTRY_OFFSET=642875153 + * PART_ENTRY_SIZE=104857600 + * PA...
2016 Jul 07
0
[PATCH 2/2] daemon: fix cleanup of stringsbuf usages
...reply_with_error ("%s", err); - goto error; + return NULL; } /* Split the command output into lines */ lines = split_lines (out); if (lines == NULL) - goto error; + return NULL; /* Parse the output of blkid -p -i -o export: * UUID=b6d83437-c6b4-4bf0-8381-ef3fc3578590 @@ -181,54 +181,44 @@ blkid_with_p_i_opt (const char *device) /* Add the key/value pair to the output */ if (add_string (&ret, line) == -1 || - add_string (&ret, eq) == -1) goto error; + add_string (&ret, eq) == -1) return NULL; } else { fpr...
2016 Jul 07
2
[PATCH 1/2] daemon: free the string on stringsbuf add failure
If add_string_nodup fails free the passed string instead of leaking it, as that string would have been owned by the stringbuf. Adapt few places to this behaviour. --- daemon/btrfs.c | 4 +--- daemon/devsparts.c | 8 ++++---- daemon/guestfsd.c | 1 + 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/daemon/btrfs.c b/daemon/btrfs.c index 9b52aa8..d70565a 100644 ---