What I meant to say in my last commit email was...

1. Replace swapon / swapoff calls with syscall wrapper calls to avoid having to
deal with ugly header checks in autoconf land.
2. autoconf checks were wrong, as the MAX_SWAPFILES amount is actually predetermined based on the kernel version, not on the headers necessarily as Redhat LOVES being non-standard. This can't be tst_kvercmp, as tst_kvercmp is runtime based
and MAX_SWAPFILES must be set at compile-time.

And what I mean to say now is:

I'm a dork -- I inverted the logic signs by accident (`<' -> `>').

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
4 files changed