From: Richard W.M. Jones Date: Tue, 7 Dec 2010 17:32:40 +0000 (+0000) Subject: Revert "umount-all: Add udev_settle after unmounting disks." X-Git-Tag: 1.7.20~3 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=1c63d8239a9a05eeafd4e4b8c882200bc68a3109;p=libguestfs.git Revert "umount-all: Add udev_settle after unmounting disks." 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. --- diff --git a/daemon/mount.c b/daemon/mount.c index 250656a..ccd07c6 100644 --- a/daemon/mount.c +++ b/daemon/mount.c @@ -324,9 +324,6 @@ do_umount_all (void) free_stringslen (mounts, size); - /* Without this, lvm_remove_all was failing on Ubuntu. */ - udev_settle (); - /* We've unmounted root now, so ... */ root_mounted = 0;