Revert "umount-all: Add udev_settle after unmounting disks."
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 7 Dec 2010 17:32:40 +0000 (17:32 +0000)
committerRichard 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

index 250656a..ccd07c6 100644 (file)
@@ -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;