commit | 4bdda040bc045dd8d921d54d3b54db5dabeb9958 | [log] [tgz] |
---|---|---|
author | Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com> | Wed Aug 14 10:01:47 2013 +0400 |
committer | Cyril Hrubis <chrubis@suse.cz> | Wed Aug 14 11:54:11 2013 +0200 |
tree | 6e6099afdd342bcbfde1377c155d05080b2f5d32 | |
parent | 1d5d484cdde36ae30e6f4fb43285cfafa22791e4 [diff] |
syscalls/swapon: fix for variable page size mkswap refuses files of size < 10*(page size). On systems with 8192 page size swapon02, swapon03 tests fail because they try to use files of size 41920 (< 81920). Modified swapon1, swapon02, swapon03 so they operate on files of size 10*(page size). Verified on systems with 4096 and 8192 page sizes. Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com> Reviewed-by: Cyril Hrubis <chrubis@suse.cz>