]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ntfs: fix sysctl table registration and path
authorNamjae Jeon <linkinjeon@kernel.org>
Sun, 1 Mar 2026 05:52:16 +0000 (14:52 +0900)
committerNamjae Jeon <linkinjeon@kernel.org>
Sun, 1 Mar 2026 05:53:37 +0000 (14:53 +0900)
commita8fde8be9aa8e5f10ef73b59b2ad4fba585ccdc5
tree6831ee2c9642f1626726b5ec756c4991c0a9e8e2
parente6eb3a0584628f84e6f3fcf258fba8fd11f42d2e
ntfs: fix sysctl table registration and path

The presence of a sentinel (an empty {}) at the end of the ctl_table array
now causes a "sysctl table check failed" error because the kernel attempts
to validate the null entry as a functional node.
Deleted the empty {} from the ntfs_sysctls array to prevent
the "procname is null" and "No proc_handler" errors and updated the base
path from "fs" to "fs/ntfs" to ensure the ntfs-debug node is correctly
located under /proc/sys/fs/ntfs/.

Reported-by: Woody Suwalski <terraluna977@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
fs/ntfs/sysctl.c