Markus Trippelsdorf
08da1193d2
ext4: fix setting random pages PageUptodate
...
ext4_end_bio calls put_page and kmem_cache_free before calling
SetPageUpdate(). This can result in setting the PageUptodate bit on
random pages and causes the following BUG:
BUG: Bad page state in process rm pfn:52e54
page:ffffea0001222260 count:0 mapcount:0 mapping: (null) index:0x0
arch kernel: page flags: 0x4000000000000008(uptodate)
Fix the problem by moving put_io_page() after the SetPageUpdate() call.
Thanks to Hugh Dickins for analyzing this problem.
Reported-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Tested-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Signed-off-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-11-17 21:46:06 -05:00
..
2010-10-29 04:16:38 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:17:13 -04:00
2010-10-29 04:16:31 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:13 -04:00
2010-10-30 09:05:48 -07:00
2010-10-29 04:17:18 -04:00
2010-11-09 15:17:53 +00:00
2010-10-29 04:16:31 -04:00
2010-10-29 04:16:28 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:28 -04:00
2010-10-29 04:16:28 -04:00
2010-10-22 17:33:16 -07:00
2010-10-29 14:15:12 -07:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:31 -04:00
2010-10-25 21:26:13 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:13 -04:00
2010-11-17 21:46:06 -05:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:31 -04:00
2010-11-15 12:44:42 +00:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:31 -04:00
2010-10-31 20:40:24 -04:00
2010-10-29 04:16:31 -04:00
2010-11-12 07:55:32 -08:00
2010-10-29 04:16:13 -04:00
2010-10-27 20:13:18 -07:00
2010-10-30 12:12:50 +02:00
2010-10-30 08:31:35 -07:00
2010-10-29 04:16:13 -04:00
2010-10-27 21:39:50 +02:00
2010-11-01 16:34:56 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:31 -04:00
2010-10-31 06:35:15 -07:00
2010-11-02 17:13:52 -04:00
2010-10-29 04:16:53 -04:00
2010-10-30 14:07:35 -04:00
2010-10-29 04:16:13 -04:00
2010-11-14 13:04:53 -08:00
2010-10-29 04:16:13 -04:00
2010-11-08 14:29:39 -08:00
2010-10-25 07:45:10 -07:00
2010-10-29 04:17:01 -04:00
2010-10-29 04:16:13 -04:00
2010-10-28 01:30:06 +02:00
2010-10-29 04:16:31 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:26 -04:00
2010-10-29 08:48:58 -07:00
2010-10-29 04:17:08 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:36 -04:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:13 -04:00
2010-11-10 15:51:10 -06:00
2010-10-25 21:26:11 -04:00
2010-10-29 04:16:33 -04:00
2010-10-29 04:16:28 -04:00
2010-11-10 14:40:43 +01:00
2010-10-29 04:16:33 -04:00
2010-10-26 17:58:44 -07:00
2010-10-22 10:52:56 -07:00
2010-10-28 09:44:56 -07:00
2010-10-30 08:19:35 -07:00
2010-10-25 21:26:13 -04:00
2010-10-26 16:52:13 -07:00
2010-10-27 18:03:18 -07:00
2010-10-27 18:03:13 -07:00
2010-10-27 18:17:02 -07:00
2010-10-26 16:52:15 -07:00
2010-10-30 09:05:48 -07:00
2010-10-26 17:58:44 -07:00
2010-10-29 05:49:13 -04:00
2010-10-27 21:30:11 -04:00
2010-11-10 14:40:53 +01:00
2010-10-28 09:44:56 -07:00
2010-10-27 18:03:12 -07:00
2010-10-29 04:16:33 -04:00
2010-11-10 14:31:29 -05:00
2010-10-28 09:44:56 -07:00
2010-10-29 04:14:56 -04:00
2010-10-25 21:24:16 -04:00
2010-10-29 04:14:56 -04:00
2010-10-29 04:16:33 -04:00
2010-10-29 10:36:49 -07:00
2010-10-27 18:03:18 -07:00
2010-10-25 21:26:12 -04:00
2010-10-26 10:13:10 -07:00
2010-10-29 04:17:03 -04:00