swap: do not make swap units wanted by its device unit anymore
authorFranck Bui <fbui@suse.com>
Mon, 28 Oct 2019 17:41:59 +0000 (18:41 +0100)
committerFranck Bui <fbui@suse.com>
Mon, 28 Oct 2019 17:46:26 +0000 (18:46 +0100)
commit9b88bb5023dfa3cea406c14fdaa3d8e3e320907a
treed7a8a1782c97d96ab7ce60e54cb1ad2f1dc35798
parenta5f6f346d3db9061fa73527e9dba3fa6b1d80b69
swap: do not make swap units wanted by its device unit anymore

It was done for mount units already (see commit 142b8142d7bb84f07). For the
same reasons and for consistency we should also stop activating automagically
swaps when their device is hot-plugged.
src/core/swap.c