Dan Carpenter
22eccdd7d2
ksm: check for ERR_PTR from follow_page()
...
The follow_page() function can potentially return -EFAULT so I added
checks for this.
Also I silenced an uninitialized variable warning on my version of gcc
(version 4.3.2).
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Rik van Riel <riel@redhat.com>
Acked-by: Izik Eidus <ieidus@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-04-24 11:31:26 -07:00
..
2010-04-02 09:46:55 +02:00
2010-04-07 11:02:23 -07:00
2010-03-30 22:02:32 +09:00
2009-06-30 18:56:00 -07:00
2010-03-06 11:26:25 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-06 11:26:23 -08:00
2010-02-05 12:22:40 +01:00
2010-04-24 11:31:25 -07:00
2009-12-16 12:20:01 +01: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
2010-03-30 22:02:32 +09:00
2009-06-24 15:13:48 +09:00
2010-03-30 22:02:32 +09:00
2010-04-24 11:31:26 -07:00
2010-01-07 11:58:36 -06:00
2009-12-16 12:20:00 +01:00
2010-03-30 22:02:32 +09:00
2010-04-24 11:31:24 -07:00
2010-03-12 15:52:28 -08:00
2010-03-30 22:02:32 +09:00
2010-04-07 08:38:02 -07:00
2010-03-30 22:02:32 +09:00
2009-09-22 07:17:35 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-06 11:26:24 -08:00
2010-04-12 17:54:11 -07:00
2010-03-24 16:31:21 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-25 14:13:27 -07:00
2010-03-30 22:02:32 +09:00
2010-03-12 15:52:28 -08:00
2010-03-17 18:43:47 -07:00
2010-03-30 22:02:32 +09:00
2009-12-03 13:54:25 +01:00
2010-04-07 08:38:04 -07:00
2010-03-30 22:02:32 +09:00
2010-03-29 23:07:12 +09:00
2010-03-30 22:02:32 +09:00
2010-04-07 08:38:03 -07:00
2010-04-24 11:31:25 -07:00
2009-12-16 19:48:48 -05:00
2010-04-09 10:09:50 -07:00
2009-08-06 11:36:25 +03:00
2010-04-09 10:09:50 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-12 15:52:36 -08:00
2009-06-23 12:50:05 -07:00
2010-03-30 22:02:32 +09:00
2010-04-09 10:09:50 -07:00
2010-02-02 12:50:47 -08:00
2010-04-07 08:38:03 -07:00
2010-03-30 22:02:32 +09:00