ubifs: Allow to silence debug dumps
authorPali Rohár <pali@kernel.org>
Sun, 7 Aug 2022 19:27:09 +0000 (21:27 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 23 Nov 2022 18:06:12 +0000 (13:06 -0500)
commit6b752c729e3ae22abbb2e854c87290115901b975
tree51e3edc2f31fc778b956bcf0c9f55c31fdd9ca76
parentd5d9f325791dc6fa3f2b564062cb109db89b0917
ubifs: Allow to silence debug dumps

Debug dump logs are not always required. Add a new config option
UBIFS_SILENCE_DEBUG_DUMP to silence all debug dumps. On powerpc/mpc85xx
when enabled this will decrease size of U-Boot binary by 11 kB.

Signed-off-by: Pali Rohár <pali@kernel.org>
Tested-by: Tony Dinh <mibodhi@gmail.com>
fs/ubifs/Kconfig
fs/ubifs/debug.c