diff options
author | Hugh Dickins <hugh@veritas.com> | 2009-01-06 22:39:49 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-06 23:59:05 (GMT) |
commit | 81e33971271ec8603fe696731ff9967afb99e729 (patch) | |
tree | c63bac5122a1e2d873be2d3a2b21c11adc709df1 /include/linux/swap.h | |
parent | 886bb7e9c3ed0bb3e4a2b1f336d8c6a6e5a4b782 (diff) | |
download | linux-fsl-qoriq-81e33971271ec8603fe696731ff9967afb99e729.tar.xz |
swapfile: remove v0 SWAP-SPACE message
The kernel has not supported v0 SWAP-SPACE since 2.5.22: I think we can
now safely drop its "version 0 swap is no longer supported" message - just
say "Unable to find swap-space signature" as usual. This removes one
level of indentation from a stretch of sys_swapon().
I'd have liked to be specific, saying "Unable to find SWAPSPACE2
signature", but it's just too confusing that the version 1 signature shows
the number 2.
Irrelevant nearby cleanup: kmap(page) already gives page_address(page).
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/swap.h')
0 files changed, 0 insertions, 0 deletions