diff options
| author | Hugh Dickins <[email protected]> | 2009-01-06 14:39:47 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-01-06 15:59:05 -0800 |
| commit | 73fd8748ab0b9b3ddd178bea1d7ae03372033d96 (patch) | |
| tree | 6c0173c84ff6ace213578a9a8b03fd73e23ec8ad /include/linux/debugobjects.h | |
| parent | 69beeb1d3428424fbc7546f85e5cd7ac4119c09d (diff) | |
swapfile: swapon needs larger size type
sys_swapon()'s swapfilesize (better renamed swapfilepages) is declared as
an int, but should be an unsigned long like the maxpages it's compared
against: on 64-bit (with 4kB pages) a swapfile of 2^44 bytes was rejected
with "Swap area shorter than signature indicates".
Signed-off-by: Hugh Dickins <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: Nick Piggin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions