summaryrefslogtreecommitdiffstats
path: root/fs/lockd/svclock.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@primarydata.com>2014-11-17 22:58:03 +0100
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-11-24 23:24:08 +0100
commit10b89567db51e143c2f0828839332502916d012d (patch)
tree817da733fbc9c253e3503e23e3deb5893b564903 /fs/lockd/svclock.c
parentnfs41: fix nfs4_proc_layoutget error handling (diff)
downloadlinux-10b89567db51e143c2f0828839332502916d012d.tar.xz
linux-10b89567db51e143c2f0828839332502916d012d.zip
lockd: eliminate LOCKD_DEBUG
LOCKD_DEBUG is always the same value as CONFIG_SUNRPC_DEBUG, so we can just use it instead. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/lockd/svclock.c')
-rw-r--r--fs/lockd/svclock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/lockd/svclock.c b/fs/lockd/svclock.c
index 13db95f54176..56598742dde4 100644
--- a/fs/lockd/svclock.c
+++ b/fs/lockd/svclock.c
@@ -53,7 +53,7 @@ static const struct rpc_call_ops nlmsvc_grant_ops;
static LIST_HEAD(nlm_blocked);
static DEFINE_SPINLOCK(nlm_blocked_lock);
-#ifdef LOCKD_DEBUG
+#if IS_ENABLED(CONFIG_SUNRPC_DEBUG)
static const char *nlmdbg_cookie2a(const struct nlm_cookie *cookie)
{
/*