]> git.baikalelectronics.ru Git - kernel.git/commit
jbd2: remove unused exports for jbd2 debugging
authorJan Kara <jack@suse.cz>
Wed, 8 Jun 2022 11:23:49 +0000 (13:23 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 3 Aug 2022 03:52:19 +0000 (23:52 -0400)
commit6f17786d52fc89e75eba8a906fba871ea250a52c
tree9d2b4c8a846df816720d7fb6ed6f18445ec0d0a0
parent7e5a2d07bfac6d3dcbac1d55b8c90a61e2742c54
jbd2: remove unused exports for jbd2 debugging

Jbd2 exports jbd2_journal_enable_debug and __jbd2_debug() depite the
first is used only in fs/jbd2/journal.c and the second only within jbd2
code. Remove the pointless exports make jbd2_journal_enable_debug
static.

Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Lukas Czerner <lczerner@redhat.com>
Link: https://lore.kernel.org/r/20220608112355.4397-3-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/jbd2/journal.c
include/linux/jbd2.h