Jan Kara
ca67881dce
init: Initialize noop_backing_dev_info early
...
[ Upstream commit 4bca7e80b6 ]
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 >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2022-06-22 14:22:02 +02:00
..
2022-04-08 14:23:57 +02:00
2022-05-25 09:57:28 +02:00
2021-11-18 19:17:06 +01:00
2022-06-09 10:23:07 +02:00
2022-06-14 18:36:20 +02:00
2022-06-14 18:36:12 +02:00
2022-06-09 10:23:25 +02:00
2022-04-27 14:39:01 +02:00
2022-06-09 10:23:06 +02:00
2022-06-09 10:22:48 +02:00
2022-04-20 09:34:04 +02:00
2021-10-14 12:47:29 +01:00
2022-05-18 10:26:56 +02:00
2021-11-18 19:15:59 +01:00
2022-06-09 10:22:28 +02:00
2021-12-08 09:04:41 +01:00
2022-03-11 12:22:34 +01:00
2022-06-22 14:22:02 +02:00
2022-04-08 14:24:17 +02:00
2022-06-09 10:22:57 +02:00
2022-04-08 14:22:59 +02:00
2022-01-27 11:04:15 +01:00
2022-04-27 14:38:50 +02:00
2021-10-26 12:35:16 -07:00
2022-05-01 17:22:24 +02:00
2021-11-18 19:16:20 +01:00
2022-06-09 10:22:51 +02:00
2021-11-18 19:17:21 +01:00
2022-06-09 10:22:48 +02:00
2022-02-23 12:03:17 +01:00
2021-11-18 19:16:03 +01:00
2022-04-08 14:24:18 +02:00
2022-06-16 13:30:33 +02:00
2021-11-18 19:16:45 +01:00
2022-05-30 09:29:09 +02:00
2021-12-14 10:57:11 +01:00
2021-11-18 19:16:00 +01:00
2022-04-08 14:24:13 +02:00
2021-11-25 09:48:41 +01:00
2022-06-09 10:22:47 +02:00
2021-10-18 20:22:03 -10:00
2022-04-27 14:38:50 +02:00
2021-11-18 19:17:06 +01:00
2022-03-08 19:12:39 +01:00
2022-06-14 18:36:06 +02:00
2022-06-14 18:36:21 +02:00
2022-04-08 14:22:59 +02:00
2022-03-08 19:12:40 +01:00
2021-11-18 19:16:25 +01:00
2022-01-20 09:13:13 +01:00
2021-11-25 09:49:08 +01:00
2022-01-11 15:35:11 +01:00
2022-02-01 17:27:15 +01:00
2022-06-09 10:22:47 +02:00
2022-03-16 14:23:46 +01:00
2022-06-09 10:23:20 +02:00
2022-01-27 11:04:41 +01:00
2022-05-30 09:29:09 +02:00
2022-03-23 09:16:42 +01:00
2021-12-29 12:28:49 +01:00
2022-05-01 17:22:32 +02:00
2022-05-25 09:57:22 +02:00
2021-11-25 09:48:42 +01:00
2022-04-13 20:59:03 +02:00
2022-03-08 19:12:32 +01:00
2022-06-14 18:36:23 +02:00
2022-03-08 19:12:38 +01:00
2021-11-18 19:16:13 +01:00
2022-05-09 09:14:30 +02:00
2022-06-09 10:23:27 +02:00
2022-04-27 14:38:51 +02:00
2021-12-08 09:04:41 +01:00
2022-02-08 18:34:12 +01:00
2021-11-18 19:15:51 +01:00
2022-06-09 10:23:09 +02:00
2021-11-12 15:05:48 +01:00
2021-11-12 15:05:48 +01:00
2022-06-09 10:23:12 +02:00
2022-05-25 09:57:26 +02:00
2022-01-05 12:42:33 +01:00
2022-04-27 14:38:57 +02:00
2021-10-18 20:22:02 -10:00
2021-12-14 10:57:22 +01:00
2022-05-30 09:29:17 +02:00
2022-04-13 20:59:28 +02:00
2021-11-18 19:17:14 +01:00
2022-06-09 10:23:32 +02:00
2022-05-18 10:26:47 +02:00
2022-05-25 09:57:31 +02:00
2022-06-09 10:23:17 +02:00
2022-06-09 10:23:17 +02:00
2022-02-16 12:56:09 +01:00
2022-06-14 18:36:24 +02:00
2022-04-08 14:24:09 +02:00
2022-03-02 11:48:06 +01:00
2022-01-27 11:04:15 +01:00
2022-03-08 19:12:42 +01:00
2021-10-28 17:18:55 -07:00
2022-05-01 17:22:29 +02:00
2022-03-16 14:23:46 +01:00
2022-04-08 14:23:37 +02:00
2022-02-01 17:27:10 +01:00
2022-02-08 18:34:05 +01:00
2022-06-06 08:43:37 +02:00
2022-01-27 11:04:44 +01:00
2021-11-18 19:17:14 +01:00
2022-05-30 09:29:15 +02:00
2021-11-25 09:48:45 +01:00
2022-02-01 17:27:01 +01:00
2022-02-01 17:27:15 +01:00
2022-04-08 14:23:01 +02:00
2022-06-09 10:23:01 +02:00
2022-01-27 11:03:52 +01:00
2022-06-09 10:22:29 +02:00
2021-10-07 16:51:57 +02:00
2022-06-14 18:36:27 +02:00
2022-04-08 14:23:06 +02:00
2021-11-18 19:16:58 +01:00
2022-04-27 14:38:58 +02:00
2021-10-18 20:22:03 -10:00
2022-05-25 09:57:37 +02:00
2021-11-18 19:17:12 +01:00
2022-04-08 14:23:50 +02:00
2021-11-18 19:16:01 +01:00
2022-05-30 09:29:15 +02:00
2022-04-08 14:24:13 +02:00
2022-04-08 14:23:40 +02:00
2022-04-13 20:59:28 +02:00
2022-04-13 20:59:28 +02:00
2022-04-13 20:59:28 +02:00
2022-05-12 12:30:05 +02:00
2021-11-21 13:44:12 +01:00
2022-02-16 12:56:19 +01:00
2022-04-08 14:24:17 +02:00
2022-03-02 11:47:51 +01:00
2022-05-30 09:29:13 +02:00
2021-11-18 19:16:41 +01:00
2021-11-25 09:48:34 +01:00
2021-10-18 18:12:09 -04:00
2022-05-01 17:22:33 +02:00
2021-10-18 16:02:30 -05:00
2022-04-20 09:34:13 +02:00
2022-03-16 14:23:43 +01:00
2021-12-29 12:28:43 +01:00
2022-03-16 14:23:43 +01:00
2022-03-08 19:12:38 +01:00
2021-12-14 10:57:15 +01:00
2022-03-16 14:23:44 +01:00