Skip to content
Commit 12dd7ecf authored by Kees Cook's avatar Kees Cook Committed by J. Bruce Fields
Browse files

lockd: avoid warning when CONFIG_SYSCTL undefined



When building without CONFIG_SYSCTL, the compiler saw an unused
label. This moves the label into the #ifdef it is used under.

fs/lockd/svc.c: In function ‘init_nlm’:
fs/lockd/svc.c:626:1: warning: label ‘err_sysctl’ defined but not used [-Wunused-label]

Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 4cb57e30
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment