Re: [PATCH] devtmpfs: drop redundant fs parameters from internal fs

From: Christian Brauner
Date: Thu Jan 20 2022 - 03:46:20 EST


On Wed, Jan 19, 2022 at 11:02:48PM +0100, Anthony Iliopoulos wrote:
> The internal_fs_type is mounted via vfs_kernel_mount() and is never
> registered as a filesystem, thus specifying the parameters is redundant
> as those params will not be validated by fs_validate_description().
>
> Both {shmem,ramfs}_fs_parameters are anyway validated when those
> respective filesystems are first registered, so there is no reason to
> pass them to devtmpfs too, drop them.
>
> Signed-off-by: Anthony Iliopoulos <ailiop@xxxxxxxx>
> ---

Ah yes, I "complained" about this on the patch re-enabling
reconfigure_mnt() for devtmpfs.

Acked-by: Christian Brauner <christian.brauner@xxxxxxxxxx>