Skip to content

Commit 3629554

Browse files
Andrea Righiamir73il
authored andcommitted
ovl: Kconfig: introduce CONFIG_OVERLAY_FS_DEBUG
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>
1 parent cbb44f0 commit 3629554

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

fs/overlayfs/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,12 @@ config OVERLAY_FS_METACOPY
124124
that doesn't support this feature will have unexpected results.
125125

126126
If unsure, say N.
127+
128+
config OVERLAY_FS_DEBUG
129+
bool "Overlayfs: turn on extra debugging checks"
130+
default n
131+
depends on OVERLAY_FS
132+
help
133+
Say Y here to enable extra debugging checks in overlayfs.
134+
135+
If unsure, say N.

0 commit comments

Comments
 (0)