[PATCH] SwapMig: Switch error handling in migrate_pages to use -Exx
authorChristoph Lameter <clameter@engr.sgi.com>
Sun, 8 Jan 2006 09:00:55 +0000 (01:00 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:12:42 +0000 (20:12 -0800)
commitd0d963281ccb22e6f339bfdd75c6b2e31351929f
treeddeb3d1cf73675d71b21be8893b16cf5014c1bc5
parentd498471133ff1f9586a06820beaeebc575fe2814
[PATCH] SwapMig: Switch error handling in migrate_pages to use -Exx

Use -Exxx instead of numeric return codes and cleanup the code in
migrate_pages() using -Exx error codes.

Consolidate successful migration handling

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/vmscan.c