chiark / gitweb /
umount: log_info about what we unmounted
authorHarald Hoyer <harald@redhat.com>
Fri, 20 May 2011 14:26:00 +0000 (16:26 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 4 Jul 2011 10:47:50 +0000 (12:47 +0200)
src/umount.c

index 95efa82..290e6ca 100644 (file)
@@ -417,6 +417,7 @@ static int mount_points_list_umount(MountPoint **head, bool *changed) {
 
                 /* Trying to umount. Forcing to umount if busy (only for NFS mounts) */
                 if (umount2(m->path, MNT_FORCE) == 0) {
+                        log_info("Unmounted %s.", m->path);
                         if (changed)
                                 *changed = true;