]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
debugfs: Fix default access mode config check
authorAaron Thompson <dev@aaront.org>
Tue, 2 Dec 2025 07:12:40 +0000 (07:12 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Dec 2025 08:31:51 +0000 (09:31 +0100)
commitd3666c1f8a31b7ff6805effcfedfac22454c6517
treeb075ee9d47e4ec8b956688297ea4a0e99317f85c
parentf278809475f6835b56de78b28dc2cc0c7e2c20a4
debugfs: Fix default access mode config check

This typo caused debugfs to always behave as if
CONFIG_DEBUG_FS_ALLOW_NONE was selected.

Fixes: f278809475f6 ("debugfs: Remove broken no-mount mode")
Reported-by: Mark Brown <broonie@kernel.org>
Tested-by: Chen-Yu Tsai <wenst@chromium.org>
Signed-off-by: Aaron Thompson <dev@aaront.org>
Link: https://patch.msgid.link/20251202070927.14198-1-dev@null.aaront.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/debugfs/inode.c