Jan Kara
4bca7e80b6
init: Initialize noop_backing_dev_info early
...
noop_backing_dev_info is used by superblocks of various
pseudofilesystems such as kdevtmpfs. After commit 10e1407310
("writeback: Fix inode->i_io_list not be protected by inode->i_lock
error") this broke because __mark_inode_dirty() started to access more
fields from noop_backing_dev_info and this led to crashes inside
locked_inode_to_wb_and_lock_list() called from __mark_inode_dirty().
Fix the problem by initializing noop_backing_dev_info before the
filesystems get mounted.
Fixes: 10e1407310 ("writeback: Fix inode->i_io_list not be protected by inode->i_lock error")
Reported-and-tested-by: Suzuki K Poulose <suzuki.poulose@arm.com >
Reported-and-tested-by: Alexandru Elisei <alexandru.elisei@arm.com >
Reported-and-tested-by: Guenter Roeck <linux@roeck-us.net >
Reviewed-by: Christoph Hellwig <hch@lst.de >
Signed-off-by: Jan Kara <jack@suse.cz >
2022-06-16 10:55:57 +02:00
..
2022-05-20 21:07:05 +02:00
2022-05-30 11:37:26 -07:00
2022-06-03 11:48:47 -07:00
2022-06-05 17:14:03 -07:00
2022-06-09 09:25:25 +09:00
2022-06-16 10:55:57 +02:00
2022-06-04 13:42:53 -07:00
2022-05-13 13:19:01 +02:00
2022-06-03 11:48:47 -07:00
2022-05-15 18:31:28 -06:00
2022-06-12 10:33:38 -07:00
2022-06-03 11:48:47 -07:00
2022-06-05 10:47:06 -07:00
2022-05-19 18:54:45 +02:00
2022-06-02 15:23:54 -07:00
2022-05-23 19:18:51 +02:00
2022-05-31 12:45:09 -04:00
2022-05-20 12:30:53 -07:00
2022-05-16 13:37:59 -07:00
2022-05-19 19:32:19 +02:00
2022-05-19 18:56:51 +02:00
2022-05-29 11:38:27 -07:00
2022-05-25 16:18:27 -07:00
2022-05-23 19:32:59 -07:00
2022-05-23 07:48:27 +02:00
2022-06-03 13:39:30 -07:00
2022-06-10 14:26:15 +02:00
2022-06-10 10:13:24 -07:00
2022-06-03 11:17:49 -07:00
2022-05-20 15:54:41 +02:00
2022-06-03 11:48:47 -07:00
2022-05-22 12:25:55 -07:00
2022-06-02 08:40:56 -07:00
2022-05-17 22:34:42 +02:00
2022-06-08 18:05:45 +02:00
2022-06-04 14:04:27 -07:00
2022-05-26 21:08:40 -07:00
2022-06-07 15:00:29 -07:00
2022-06-03 11:36:34 -07:00
2022-05-31 09:56:54 -07:00
2022-06-03 06:52:57 -07:00
2022-06-02 15:23:54 -07:00
2022-05-22 15:58:30 +10:00
2022-05-24 08:08:24 -05:00
2022-06-10 15:23:54 -04:00
2022-06-03 11:17:49 -07:00
2022-05-30 11:37:26 -07:00
2022-06-02 15:23:54 -07:00
2022-06-03 11:36:34 -07:00
2022-06-07 14:24:30 -07:00
2022-06-03 14:42:24 -07:00
2022-06-09 22:05:37 -07:00
2022-06-08 10:18:10 -07:00
2022-05-27 21:24:19 -07:00
2022-06-05 09:25:12 -07:00
2022-05-25 16:18:27 -07:00
2022-05-25 15:02:26 +02:00
2022-06-03 11:48:47 -07:00
2022-06-02 15:23:54 -07:00
2022-05-23 21:06:11 -07:00
2022-05-19 16:56:17 +02:00
2022-05-28 11:15:54 -07:00
2022-06-12 11:33:42 -07:00
2022-06-03 11:36:34 -07:00
2022-05-23 19:18:51 +02:00
2022-05-25 21:51:32 -07:00
2022-05-20 16:40:01 +02:00
2022-05-25 14:38:29 +02:00
2022-06-03 11:48:47 -07:00
2022-06-02 15:23:54 -07:00
2022-06-03 11:48:47 -07:00
2022-06-07 22:05:14 -04:00
2022-06-03 11:48:47 -07:00
2022-06-03 11:36:34 -07:00
2022-06-03 11:48:47 -07:00
2022-06-03 11:36:34 -07:00
2022-05-28 06:15:27 -06:00
2022-05-30 14:44:27 +02:00
2022-05-30 11:34:13 -07:00
2022-06-03 11:17:49 -07:00
2022-06-04 13:42:53 -07:00
2022-06-05 09:25:12 -07:00
2022-06-03 11:36:34 -07:00
2022-06-08 08:56:03 -04:00
2022-06-01 13:49:15 -07:00
2022-06-09 00:26:35 -04:00
2022-06-04 13:50:23 -07:00
2022-06-03 11:36:34 -07:00
2022-06-11 16:32:47 -07:00
2022-06-02 15:27:44 -07:00
2022-06-07 08:11:35 +02:00
2022-06-05 09:25:12 -07:00
2022-06-05 09:25:12 -07:00