+11
−7
+0
−13
+1
−8
Loading
debugfs access modes were added in Linux 5.10 (Dec 2020) [1], but the no-mount mode has behaved effectively the same as the off mode since Linux 5.12 (Apr 2021) [2]. The only difference is the specific error code returned by the debugfs_create_* functions, which is -ENOENT in no-mount mode and -EPERM in off mode. Given that no-mount hasn't worked for several years with no complaints, just remove it. [1] a24c6f7b ("debugfs: Add access restriction option") [2] bc6de804 ("debugfs: be more robust at handling improper input in debugfs_lookup()") 56348560 ("debugfs: do not attempt to create a new file before the filesystem is initalized") Signed-off-by:Aaron Thompson <dev@aaront.org> Link: https://patch.msgid.link/20251120102222.18371-3-dev@null.aaront.org Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>