mount: consider a mount successful if /bin/mount returned successfully but /proc/self/mountinfo didn't notify us yet

This commit is contained in:
Lennart Poettering 2010-05-21 03:32:58 +02:00
parent 8cbef76075
commit 19b160fae9

View File

@ -936,7 +936,7 @@ static void mount_sigchld_event(Unit *u, pid_t pid, int code, int status) {
case MOUNT_REMOUNTING_SIGKILL:
case MOUNT_REMOUNTING_SIGTERM:
if (success && m->from_proc_self_mountinfo)
if (success)
mount_enter_mounted(m, true);
else if (m->from_proc_self_mountinfo)
mount_enter_mounted(m, false);