NeilBrown a6097180d8 devtmpfs regression fix: reconfigure on each mount
Prior to Linux v5.4 devtmpfs used mount_single() which treats the given
mount options as "remount" options, so it updates the configuration of
the single super_block on each mount.

Since that was changed, the mount options used for devtmpfs are ignored.
This is a regression which affect systemd - which mounts devtmpfs with
"-o mode=755,size=4m,nr_inodes=1m".

This patch restores the "remount" effect by calling reconfigure_single()

Fixes: d401727ea0d7 ("devtmpfs: don't mix {ramfs,shmem}_fill_super() with mount_single()")
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2022-01-17 09:40:29 +02:00
..
2022-01-16 08:08:11 +02:00
2022-01-16 08:08:11 +02:00
2022-01-14 14:55:38 +01:00
2022-01-16 06:52:38 +02:00
2022-01-16 06:52:38 +02:00
2022-01-16 15:53:00 +02:00
2022-01-12 15:46:11 -08:00
2022-01-11 11:35:28 -08:00
2022-01-12 11:11:34 -08:00
2022-01-16 08:08:11 +02:00
2022-01-14 14:55:38 +01:00
2022-01-12 10:35:23 -08:00
2022-01-16 08:08:11 +02:00
2022-01-16 08:08:11 +02:00
2022-01-11 11:26:57 -08:00
2022-01-10 12:58:46 -08:00
2022-01-12 15:46:11 -08:00
2022-01-16 15:53:00 +02:00
2022-01-14 14:55:38 +01:00
2022-01-10 08:13:52 -08:00
2022-01-14 14:55:38 +01:00
2021-12-29 10:54:50 +01:00
2022-01-12 16:15:51 -08:00
2022-01-16 06:52:38 +02:00
2022-01-03 13:44:38 +01:00
2022-01-17 08:07:57 +02:00