neil / rpms / udisks2

Forked from rpms/udisks2 a year ago
Clone

Blame SOURCES/udisks-2.9.1-zram-Always-flush-interface-property-changes.patch

20ccde
From 724ff8679e0ae0fd4d84f4e6c1b36007e648e8ca Mon Sep 17 00:00:00 2001
20ccde
From: Tomas Bzatek <tbzatek@redhat.com>
20ccde
Date: Fri, 26 Jun 2020 17:57:12 +0200
20ccde
Subject: [PATCH 7/8] zram: Always flush interface property changes
20ccde
20ccde
---
20ccde
 modules/zram/udiskslinuxblockzram.c | 1 +
20ccde
 1 file changed, 1 insertion(+)
20ccde
20ccde
diff --git a/modules/zram/udiskslinuxblockzram.c b/modules/zram/udiskslinuxblockzram.c
20ccde
index 132d4174..1bae3686 100644
20ccde
--- a/modules/zram/udiskslinuxblockzram.c
20ccde
+++ b/modules/zram/udiskslinuxblockzram.c
20ccde
@@ -277,6 +277,7 @@ udisks_linux_block_zram_update (UDisksLinuxBlockZRAM    *zramblock,
20ccde
 
20ccde
   udisks_block_zram_set_active (iface, bd_swap_swapstatus (dev_file, &error));
20ccde
 out:
20ccde
+  g_dbus_interface_skeleton_flush (G_DBUS_INTERFACE_SKELETON (iface));
20ccde
   if (zram_info)
20ccde
     bd_kbd_zram_stats_free (zram_info);
20ccde
   if (error)
20ccde
-- 
20ccde
2.26.2
20ccde