neil / rpms / udisks2

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