From 9d158c3ab132df21d58890f18224cd2fe020de67 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Wed, 12 May 2010 16:12:07 +0100 Subject: [PATCH] Run udev_settle() after swapon/swapoff (RHBZ#516096). --- daemon/swap.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/daemon/swap.c b/daemon/swap.c index 67d553a..f22f2de 100644 --- a/daemon/swap.c +++ b/daemon/swap.c @@ -122,6 +122,11 @@ swaponoff (const char *cmd, const char *flag, const char *value) free (err); + /* Possible fix for RHBZ#516096. It probably doesn't hurt to do + * this in any case. + */ + udev_settle (); + return 0; } -- 1.8.3.1