]> www.infradead.org Git - users/dwmw2/linux.git/commit
exportfs: use pr_debug for unreachable debug statements
authorDavid Disseldorp <ddiss@suse.de>
Fri, 21 Oct 2022 12:24:14 +0000 (14:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Apr 2024 14:19:21 +0000 (16:19 +0200)
commit81c3ab9b95bf7bff47168a536a70928ca0a4582d
treeb22ef1fa4822d424bc849f003a3d3e1b14a64a71
parent10d55a17899a27100c6b1a6987e2ab6774c096a1
exportfs: use pr_debug for unreachable debug statements

[ Upstream commit 427505ffeaa464f683faba945a88d3e3248f6979 ]

expfs.c has a bunch of dprintk statements which are unusable due to:
 #define dprintk(fmt, args...) do{}while(0)
Use pr_debug so that they can be enabled dynamically.
Also make some minor changes to the debug statements to fix some
incorrect types, and remove __func__ which can be handled by dynamic
debug separately.

Signed-off-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/exportfs/expfs.c