Files
kernel/include/linux
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: d401727ea0 ("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-09 10:36:51 -07:00
2021-11-12 10:19:09 -08:00
2021-11-17 10:36:15 -05:00
2021-12-10 17:10:55 -08:00
2021-12-10 12:51:28 +01:00
2021-12-01 00:06:43 +01:00
2021-12-15 15:58:40 +01:00
2022-01-04 13:15:33 -05:00
2021-12-17 09:06:15 +01:00
2021-12-20 09:03:05 +01:00
2022-01-15 20:37:06 +02:00
2021-12-16 22:22:20 +01:00
2022-01-12 10:14:09 -06:00
2021-11-16 19:07:53 -08:00
2022-01-15 16:30:28 +02:00
2022-01-15 16:30:28 +02:00
2022-01-08 12:43:57 -06:00
2021-11-17 14:48:59 +01:00
2021-11-18 09:36:39 +01:00
2021-11-30 17:25:20 -08:00
2021-11-16 13:10:34 +00:00
2021-11-25 18:35:23 +01:00
2021-12-30 12:13:04 +01:00
2021-12-09 10:49:56 -08:00
2022-01-08 00:28:41 -05:00