]> err.no Git - util-linux/commit
mkswap: handle 2^32 pages
authorHugh Dickins <hugh@veritas.com>
Thu, 22 Jan 2009 16:46:57 +0000 (16:46 +0000)
committerKarel Zak <kzak@redhat.com>
Fri, 27 Feb 2009 14:26:48 +0000 (15:26 +0100)
commit99e6d5259ef94068e7ecef9cdc81dc3fec3907f1
tree248109607a3167a72cadd070bfce5f7bc8f32114
parent8f66fc25e9ab6f7a6938c498f04711567729545d
mkswap: handle 2^32 pages

mkswap (when built 32-bit) could not quite support the maximum size
of swap area (2^32 pages): change unsigned long pagecounts to unsigned
long long pagecounts, and fix maxpages for the case when more is asked.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
disk-utils/mkswap.c