b5f8430a27
resolves: rhbz#2011709 Includes these important commits: plugins/python: Fix extents() count format string tests: Add configure --disable-libguestfs-tests flag tests: Use mke2fs -d to create ext4 test image Use new --disable-libguestfs-tests on non-guestfs arches.
41 lines
1.1 KiB
Diff
41 lines
1.1 KiB
Diff
From 1095c3255820efaad5f448ffbecf331134dd0b4d Mon Sep 17 00:00:00 2001
|
|
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
Date: Sat, 30 Oct 2021 08:34:28 +0100
|
|
Subject: [PATCH] vddk: Remove some whitespace from a couple of functions
|
|
|
|
(cherry picked from commit 974dce2c2ef84fc096ee319f340054234a29df91)
|
|
---
|
|
plugins/vddk/vddk.c | 9 ++-------
|
|
1 file changed, 2 insertions(+), 7 deletions(-)
|
|
|
|
diff --git a/plugins/vddk/vddk.c b/plugins/vddk/vddk.c
|
|
index 271b5ee0..184f1a9c 100644
|
|
--- a/plugins/vddk/vddk.c
|
|
+++ b/plugins/vddk/vddk.c
|
|
@@ -792,9 +792,7 @@ static int
|
|
vddk_flush (void *handle, uint32_t flags)
|
|
{
|
|
struct vddk_handle *h = handle;
|
|
- struct command flush_cmd = {
|
|
- .type = FLUSH,
|
|
- };
|
|
+ struct command flush_cmd = { .type = FLUSH };
|
|
|
|
return send_command_and_wait (h, &flush_cmd);
|
|
}
|
|
@@ -804,10 +802,7 @@ vddk_can_extents (void *handle)
|
|
{
|
|
struct vddk_handle *h = handle;
|
|
int ret;
|
|
- struct command can_extents_cmd = {
|
|
- .type = CAN_EXTENTS,
|
|
- .ptr = &ret,
|
|
- };
|
|
+ struct command can_extents_cmd = { .type = CAN_EXTENTS, .ptr = &ret };
|
|
|
|
if (send_command_and_wait (h, &can_extents_cmd) == -1)
|
|
return -1;
|
|
--
|
|
2.31.1
|
|
|