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