Hugh Dickins
08259d58e4
mm: add comment on swap_duplicate's error code
...
swap_duplicate()'s loop appears to miss out on returning the error code
from __swap_duplicate(), except when that's -ENOMEM. In fact this is
intentional: prior to -ENOMEM for swap_count_continuation,
swap_duplicate() was void (and the case only occurs when copy_one_pte()
hits a corrupt pte). But that's surprising behaviour, which certainly
deserves a comment.
Signed-off-by: Hugh Dickins <hughd@google.com>
Reported-by: Huang Shijie <shijie8@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-03-06 11:26:27 -08:00
..
2009-12-03 13:49:43 +01:00
2010-02-12 09:41:59 -08:00
2009-06-16 11:19:36 +02:00
2009-06-30 18:56:00 -07:00
2010-03-06 11:26:25 -08:00
2010-02-26 19:19:39 +02:00
2010-03-06 11:26:23 -08:00
2010-03-06 11:26:24 -08:00
2010-03-06 11:26:23 -08:00
2009-11-10 04:15:47 +01:00
2010-03-01 09:15:15 -08:00
2009-12-16 12:20:01 +01:00
2009-06-16 19:47:28 -07:00
2009-12-16 12:19:59 +01:00
2010-03-03 08:15:05 -08:00
2009-09-21 15:14:57 +02:00
2009-06-15 15:48:33 +02:00
2009-06-24 15:13:48 +09:00
2009-12-17 16:00:19 -08:00
2010-03-06 11:26:26 -08:00
2010-01-07 11:58:36 -06:00
2009-12-16 12:20:00 +01:00
2009-12-16 12:16:49 -05:00
2010-03-06 11:26:26 -08:00
2010-03-06 11:26:25 -08:00
2010-03-06 11:26:26 -08:00
2010-03-06 11:26:26 -08:00
2010-03-06 11:26:25 -08:00
2009-09-22 07:17:35 -07:00
2010-03-06 11:26:25 -08:00
2009-12-15 08:53:24 -08:00
2010-03-06 11:26:24 -08:00
2010-03-06 11:26:26 -08:00
2010-01-15 01:43:28 -08:00
2009-09-22 07:17:31 -07:00
2009-05-18 11:22:24 +01:00
2009-09-21 14:28:04 +02:00
2010-03-06 11:26:26 -08:00
2010-03-06 11:26:27 -08:00
2010-03-06 11:26:23 -08:00
2010-03-06 11:26:26 -08:00
2009-09-22 07:17:26 -07:00
2009-12-15 08:53:16 -08:00
2009-12-03 13:54:25 +01:00
2009-12-15 08:53:24 -08:00
2010-02-26 08:25:35 +01:00
2009-09-24 09:34:52 +09:30
2010-03-06 11:26:25 -08:00
2010-03-06 11:26:27 -08:00
2009-12-16 19:48:48 -05:00
2010-03-04 12:07:50 +02:00
2009-08-06 11:36:25 +03:00
2010-03-04 12:09:43 +02:00
2010-02-12 09:42:38 -08:00
2010-03-01 17:59:24 -08:00
2009-09-22 07:17:35 -07:00
2010-03-06 11:26:25 -08:00
2010-03-06 11:26:27 -08:00
2009-06-23 12:50:05 -07:00
2010-01-13 16:09:33 -08:00
2010-01-16 12:15:40 -08:00
2010-02-02 12:50:47 -08:00
2010-03-06 11:26:27 -08:00
2010-03-06 11:26:25 -08:00