From 19b160fae970b720f3498a8dc247c5f04c7cf16a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 21 May 2010 03:32:58 +0200 Subject: [PATCH] mount: consider a mount successful if /bin/mount returned successfully but /proc/self/mountinfo didn't notify us yet --- src/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mount.c b/src/mount.c index 3b1608060..01fc2dffb 100644 --- a/src/mount.c +++ b/src/mount.c @@ -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); -- 2.30.2