]> err.no Git - systemd/commit
mount: fix automount regression
authorMichal Schmidt <mschmidt@redhat.com>
Thu, 26 Jan 2012 00:19:19 +0000 (01:19 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Thu, 26 Jan 2012 00:19:19 +0000 (01:19 +0100)
commitda375869ff31f83938123dc0d2a8d5c0f0845a0c
treeefc0cf0688c9d5a1e5a96ab9cdab224f05c09170
parentd657c51f14601d0235434ffb78cf6ac0f27cc83c
mount: fix automount regression

Tom Gundersen noticed a regression where comment=systemd.automount in
fstab no longer prevented the adding of the After=foo.mount dependency
into local-fs.target. He bisected it to commit 9ddc4a26.

It turns out that clearing the default_dependencies flag is necessary
after all, in order to avoid complementing of Wants= with After= in the
target unit. We still want to add the dependencies on quota units and
umount.target though.
src/mount.c