From: Lennart Poettering Date: Fri, 21 May 2010 01:32:58 +0000 (+0200) Subject: mount: consider a mount successful if /bin/mount returned successfully but /proc... X-Git-Tag: 0.git+20100605+dfd8ee-1~11^2^2~29 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19b160fae970b720f3498a8dc247c5f04c7cf16a;p=systemd mount: consider a mount successful if /bin/mount returned successfully but /proc/self/mountinfo didn't notify us yet --- diff --git a/src/mount.c b/src/mount.c index 3b160806..01fc2dff 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);