diff options
| author | NeilBrown <[email protected]> | 2022-01-16 22:07:26 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2022-01-17 07:40:29 +0000 |
| commit | a6097180d884ddab769fb25588ea8598589c218c (patch) | |
| tree | b306cc18579ec7aa978780bade0ade6da1cf801d /tools/perf/util/python.c | |
| parent | Merge tag 'fbdev-5.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/del... (diff) | |
| download | kernel-a6097180d884ddab769fb25588ea8598589c218c.tar.gz kernel-a6097180d884ddab769fb25588ea8598589c218c.zip | |
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 <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: NeilBrown <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions
