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:
0938509
)
Revert "umount-all: Add udev_settle after unmounting disks."
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 7 Dec 2010 17:32:40 +0000
(17:32 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 7 Dec 2010 17:57:07 +0000
(17:57 +0000)
This reverts commit
ad2abf89c364d5ec73fb12af63b053637d99d757
.
Ubuntu still has errors even with the addition of udev_settle
after umount-all. Therefore this was just masking the problem.
daemon/mount.c
patch
|
blob
|
history
diff --git
a/daemon/mount.c
b/daemon/mount.c
index
250656a
..
ccd07c6
100644
(file)
--- a/
daemon/mount.c
+++ b/
daemon/mount.c
@@
-324,9
+324,6
@@
do_umount_all (void)
free_stringslen (mounts, size);
free_stringslen (mounts, size);
- /* Without this, lvm_remove_all was failing on Ubuntu. */
- udev_settle ();
-
/* We've unmounted root now, so ... */
root_mounted = 0;
/* We've unmounted root now, so ... */
root_mounted = 0;