From: Andrea Righi Date: Sun, 21 May 2023 08:28:11 +0000 (+0200) Subject: ovl: Kconfig: introduce CONFIG_OVERLAY_FS_DEBUG X-Git-Tag: v6.6-rc1~140^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=36295542969dcfe7443f8cc5247863ed06a936d5;p=thirdparty%2Fkernel%2Flinux.git ovl: Kconfig: introduce CONFIG_OVERLAY_FS_DEBUG Provide a Kconfig option to enable extra debugging checks for overlayfs. Reviewed-by: Amir Goldstein Signed-off-by: Andrea Righi Signed-off-by: Amir Goldstein --- diff --git a/fs/overlayfs/Kconfig b/fs/overlayfs/Kconfig index 6708e54b0e30a..fec5020c34950 100644 --- a/fs/overlayfs/Kconfig +++ b/fs/overlayfs/Kconfig @@ -124,3 +124,12 @@ config OVERLAY_FS_METACOPY that doesn't support this feature will have unexpected results. If unsure, say N. + +config OVERLAY_FS_DEBUG + bool "Overlayfs: turn on extra debugging checks" + default n + depends on OVERLAY_FS + help + Say Y here to enable extra debugging checks in overlayfs. + + If unsure, say N.