diff options
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/mkswap.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/util-linux/mkswap.c b/util-linux/mkswap.c index 30a364c..1fc648f 100644 --- a/util-linux/mkswap.c +++ b/util-linux/mkswap.c @@ -320,11 +320,7 @@ int mkswap_main(int argc, char **argv) } if (version == -1) { - if (PAGES <= V0_MAX_PAGES) - version = 0; - else if (get_kernel_revision() < MAKE_VERSION(2, 1, 117)) - version = 0; - else if (pagesize < 2048) + if (get_kernel_revision() < MAKE_VERSION(2, 1, 117)) version = 0; else version = 1; |