core: swap priority can be negative
authorTopi Miettinen <toiwoton@gmail.com>
Tue, 3 Dec 2019 18:36:37 +0000 (20:36 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 15 Dec 2019 10:15:57 +0000 (11:15 +0100)
commitc08429ae339089a04be21c65d2ecd0dd784102ba
treeb4fa37423a1b016d8fc5bfd48d8e41ccaf053288
parentf25c0be3351444d319396f312dbe7c56cb7d0036
core: swap priority can be negative

Negative priorities are useful for swap targets which should be only used as
last resort.

(cherry picked from commit 7477451b691d288dad67b4c8ce9e519e9b75770d)
src/core/swap.c
src/core/swap.h
src/shared/fstab-util.c
src/test/test-fstab-util.c