Zongxun Wang
181a9a043b
ocfs2: fix null pointer dereference when access dlm_state before launching dlm thread
...
When mounting an ocfs2 volume, it will firstly generate a file
/sys/kernel/debug/o2dlm/<uuid>/dlm_state, and then launch the dlm thread.
So the following situation will cause a null pointer dereference.
dlm_debug_init -> access file dlm_state which will call dlm_state_print ->
dlm_launch_thread
Move dlm_debug_init after dlm_launch_thread and dlm_launch_recovery_thread
can fix this issue.
Signed-off-by: Zongxun Wang <wangzongxun@huawei.com>
Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-04-03 16:20:53 -07:00
..
2014-01-28 08:38:04 -08:00
2013-10-24 23:43:27 -04:00
2014-01-25 03:13:01 -05:00
2014-03-07 10:24:50 -05:00
2014-01-23 16:36:59 -08:00
2014-01-25 03:14:38 -05:00
2013-09-12 15:38:02 -07:00
2014-02-16 11:05:27 -08:00
2013-11-13 15:34:18 +09:00
2014-02-17 12:37:13 -08:00
2014-04-03 16:20:50 -07:00
2013-11-09 00:16:21 -05:00
2013-11-21 16:42:27 -08:00
2014-01-25 03:13:02 -05:00
2014-02-19 14:58:17 +01:00
2013-11-13 12:09:36 +09:00
2014-01-25 11:17:34 -08:00
2014-01-25 03:13:00 -05:00
2014-03-04 16:16:16 +00:00
2014-01-25 03:13:02 -05:00
2014-01-23 18:54:14 +02:00
2013-11-09 00:16:38 -05:00
2014-01-25 23:58:19 -05:00
2014-01-28 08:38:04 -08:00
2014-03-30 17:02:06 -07:00
2014-01-30 11:19:05 -08:00
2013-10-24 23:43:28 -04:00
2014-04-03 16:20:50 -07:00
2014-02-17 13:47:35 -08:00
2014-01-28 08:38:04 -08:00
2014-01-30 11:19:05 -08:00
2013-11-13 12:09:32 +09:00
2014-03-10 17:26:21 -07:00
2014-01-26 11:51:09 +01:00
2014-02-02 16:24:07 -08:00
2013-07-03 16:07:41 -07:00
2013-08-24 12:10:17 -04:00
2013-10-24 23:34:59 -04:00
2013-12-04 12:27:46 +01:00
2014-02-17 20:33:01 -05:00
2014-01-28 18:56:37 -08:00
2014-02-13 15:56:05 -06:00
2014-03-08 22:08:29 -08:00
2014-02-13 14:55:02 -05:00
2014-01-30 11:19:05 -08:00
2013-09-16 18:20:25 -07:00
2013-10-24 23:43:28 -04:00
2014-03-09 19:17:39 -07:00
2013-02-13 06:15:14 -08:00
2014-02-18 12:25:57 -05:00
2014-01-30 11:19:05 -08:00
2014-01-25 03:14:05 -05:00
2014-04-03 16:20:51 -07:00
2014-02-09 15:18:09 -05:00
2014-04-03 16:20:53 -07:00
2013-09-12 15:38:02 -07:00
2013-06-29 12:56:32 +04:00
2014-04-02 14:27:15 -07:00
2013-12-20 13:12:01 -08:00
2014-01-25 03:13:03 -05:00
2013-06-29 12:56:39 +04:00
2014-02-20 21:57:04 +01:00
2014-01-23 16:36:58 -08:00
2014-02-17 13:46:33 -08:00
2014-01-23 16:37:04 -08:00
2013-11-24 01:02:50 +00:00
2014-03-25 20:54:57 -07:00
2013-09-29 22:02:02 -04:00
2014-01-23 16:37:03 -08:00
2014-02-20 21:56:00 +01:00
2013-09-12 15:38:02 -07:00
2014-02-27 10:37:22 -08:00
2013-12-22 11:03:49 -08:00
2014-03-27 09:52:54 -07:00
2013-12-05 16:36:21 -06:00
2013-06-29 12:57:04 +04:00
2013-11-09 00:16:26 -05:00
2013-11-09 00:16:30 -05:00
2014-01-23 16:36:58 -08:00
2013-10-24 23:34:54 -04:00
2013-04-29 15:40:23 -04:00
2013-04-30 17:04:03 -07:00
2012-12-20 17:40:19 -08:00
2014-04-01 19:19:15 -07:00
2014-02-18 12:17:47 -08:00
2013-09-13 23:06:40 -04:00
2014-02-20 14:54:28 +01:00
2013-11-14 12:08:14 +09:00
2014-03-04 08:05:21 +00:00
2014-03-06 16:30:44 +01:00
2014-04-02 12:51:41 -07:00
2014-01-23 16:37:01 -08:00
2014-03-23 00:28:40 -04:00
2014-01-29 16:22:40 -08:00
2013-11-23 22:33:47 -08:00
2013-09-10 18:56:31 -04:00
2014-01-25 03:13:04 -05:00
2014-01-02 14:40:30 -08:00
2014-03-06 16:30:43 +01:00
2013-10-24 23:34:54 -04:00
2012-12-20 14:04:11 -08:00
2014-03-10 11:44:41 -04:00
2014-03-31 11:05:24 -07:00
2013-03-03 19:36:31 -08:00
2013-11-06 12:40:26 +01:00
2014-04-03 16:20:49 -07:00
2013-11-09 00:16:44 -05:00
2013-11-09 00:16:20 -05:00
2013-10-24 23:34:54 -04:00
2014-02-07 16:08:57 -08:00
2013-04-30 17:04:04 -07:00
2013-11-15 22:04:17 -05:00
2013-11-13 07:30:53 -05:00
2014-02-07 16:08:57 -08:00
2013-09-10 18:56:31 -04:00
2014-03-30 19:18:51 -04:00
2013-11-23 22:33:47 -08:00
2014-03-23 00:32:55 -04:00
2014-03-30 19:18:51 -04:00
2014-03-10 11:44:41 -04:00
2014-01-23 16:37:00 -08:00
2014-03-30 19:18:51 -04:00
2014-03-30 19:18:51 -04:00
2014-02-03 17:12:37 -05:00
2014-01-23 16:37:02 -08:00
2014-03-31 14:32:17 -07:00
2013-10-24 23:34:54 -04:00
2013-11-13 15:34:18 +09:00
2013-11-18 19:07:53 -08:00
2013-03-03 22:58:46 -05:00
2014-01-22 19:36:57 +01:00
2013-11-09 00:16:31 -05:00
2013-10-12 13:12:31 -07:00
2014-01-31 14:29:36 -05:00
2014-02-22 02:02:28 +01:00
2014-01-23 16:57:40 -08:00
2013-11-09 00:16:44 -05:00
2012-12-20 18:50:11 -05:00