devtmpfs: drop redundant fs parameters from internal fs
authorAnthony Iliopoulos <ailiop@suse.com>
Wed, 19 Jan 2022 22:02:48 +0000 (23:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Feb 2022 14:38:01 +0000 (15:38 +0100)
commit8f2d116045431f66de85760e7c83918d741f5533
treed6fcffa01ddb6d00dac61dec70311faaf8fbdd50
parent13e906e50a8cf6033f22c03c4d772e36a9e02c6b
devtmpfs: drop redundant fs parameters from internal fs

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.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Anthony Iliopoulos <ailiop@suse.com>
Link: https://lore.kernel.org/r/20220119220248.32225-1-ailiop@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/devtmpfs.c