search for: cfdac86

Displaying 2 results from an estimated 2 matches for "cfdac86".

2016 Jun 15
1
[PATCH v2] filesystems: don't try to get the size of btrfs subvolume
virt-filesystem -l tries to get the size of btrfs subvolumes, which results in an error. Teach it to skip the subvolumes. --- cat/filesystems.c | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/cat/filesystems.c b/cat/filesystems.c index f1c2852..cfdac86 100644 --- a/cat/filesystems.c +++ b/cat/filesystems.c @@ -476,9 +476,28 @@ do_output_filesystems (void) } } if ((columns & COLUMN_SIZE)) { - size = guestfs_blockdev_getsize64 (g, fses[i]); - if (size == -1) + CLEANUP_FREE char *device = guestfs_mountable_device...
2016 Jul 22
1
[PATCH] static const char *str -> static const char str
...char *options = "a:c:d:m:vVx"; + static const char options[] = "a:c:d:m:vVx"; static const struct option long_options[] = { { "add", 1, 0, 'a' }, { "connect", 1, 0, 'c' }, diff --git a/cat/filesystems.c b/cat/filesystems.c index cfdac86..ab24f2d 100644 --- a/cat/filesystems.c +++ b/cat/filesystems.c @@ -137,7 +137,7 @@ main (int argc, char *argv[]) enum { HELP_OPTION = CHAR_MAX + 1 }; - static const char *options = "a:c:d:hlvVx"; + static const char options[] = "a:c:d:hlvVx"; static const struct opt...