Commit b8b81d61 authored by Steve Langasek's avatar Steve Langasek
Browse files

Don't emit extra 'mounting' events for mounts already in progress; this

will cause double triggering of some jobs for remote filesystems, and
can also cause us to miss 'mounted' events.  LP: #1048017.
parent ba15917e
mountall (2.52) UNRELEASED; urgency=low
* Don't emit extra 'mounting' events for mounts already in progress; this
will cause double triggering of some jobs for remote filesystems, and
can also cause us to miss 'mounted' events. LP: #1048017.
-- Steve Langasek <vorlon@debian.org> Mon, 07 Oct 2013 13:43:48 -0700
mountall (2.51) unstable; urgency=low
* Fix tagging of filesystems to not have local/remote inheritance
......
......@@ -1894,6 +1894,11 @@ try_mount (Mount *mnt,
return;
}
/* A mount is already in progress for this mount point; do not
* send an extra event, which will just confuse things
*/
if (mnt->mount_pid > 0)
return;
/* Queue a filesystem check if not yet ready, otherwise emit mounting
* event (callback will run swapon or mount as appropriate).
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment