git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87eecb5
)
Run udev_settle() after swapon/swapoff (RHBZ#516096).
author
Richard Jones
<rjones@redhat.com>
Wed, 12 May 2010 15:12:07 +0000
(16:12 +0100)
committer
Richard Jones
<rjones@redhat.com>
Wed, 12 May 2010 15:13:07 +0000
(16:13 +0100)
daemon/swap.c
patch
|
blob
|
history
diff --git
a/daemon/swap.c
b/daemon/swap.c
index
67d553a
..
f22f2de
100644
(file)
--- 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;
}