chiark / gitweb /
core/swap.c: Do not add Before=swap.target to swap units.
authorThomas Bächler <thomas@archlinux.org>
Fri, 5 Oct 2012 23:11:53 +0000 (01:11 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 16 Oct 2012 00:20:55 +0000 (02:20 +0200)
commitfd59a381e35edfbeb868143d76181be60df9c22b
treed7af2635aedc5978e989e7a23d80bf403486cfe4
parent6bae23a0388dd077fee99e83e161d297c3e2b768
core/swap.c: Do not add Before=swap.target to swap units.

The fstab generator adds Before=swap.target by default, and when creating
a custom .swap unit, you can also add Before=swap.target to the unit.

However, it is impossible to not have this ordering dependency right now.
Virtually all existing setups likely use the fstab generator, so this
change is unlikely to break anything.
src/core/swap.c