]> www.infradead.org Git - users/jedix/linux-maple.git/commit
debugfs: continue to ignore unknown mount options
authorChristian Brauner <brauner@kernel.org>
Mon, 27 May 2024 12:15:22 +0000 (14:15 +0200)
committerChristian Brauner <brauner@kernel.org>
Tue, 28 May 2024 12:32:42 +0000 (14:32 +0200)
commit0c07c273a5fe1a25d4f477fe7edf64b3e8b19b3d
tree254f04de3110f8eae14bc01ea2a5c02d14360586
parent2bfcfd584ff5ccc8bb7acde19b42570414bf880b
debugfs: continue to ignore unknown mount options

Wolfram reported that debugfs remained empty on some of his boards
triggering the message "debugfs: Unknown parameter 'auto'".

The root of the issue is that we ignored unknown mount options in the
old mount api but we started rejecting unknown mount options in the new
mount api. Continue to ignore unknown mount options to not regress
userspace.

Fixes: a20971c18752 ("vfs: Convert debugfs to use the new mount API")
Link: https://lore.kernel.org/r/20240527100618.np2wqiw5mz7as3vk@ninjato
Reported-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/debugfs/inode.c