]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ovl: Kconfig: introduce CONFIG_OVERLAY_FS_DEBUG
authorAndrea Righi <andrea.righi@canonical.com>
Sun, 21 May 2023 08:28:11 +0000 (10:28 +0200)
committerAmir Goldstein <amir73il@gmail.com>
Sat, 12 Aug 2023 16:02:53 +0000 (19:02 +0300)
Provide a Kconfig option to enable extra debugging checks for overlayfs.

Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
fs/overlayfs/Kconfig

index 6708e54b0e30a4c9a6cf81753a16ca494e413e20..fec5020c3495039e0eda0c865aaf10b989779588 100644 (file)
@@ -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.