linux-sg2042/include/uapi/linux/nfsd
Mark Salter 135dd002c2 nfsd: eliminate NFSD_DEBUG
Commit f895b252d4 ("sunrpc: eliminate RPC_DEBUG") introduced
use of IS_ENABLED() in a uapi header which leads to a build
failure for userspace apps trying to use <linux/nfsd/debug.h>:

   linux/nfsd/debug.h:18:15: error: missing binary operator before token "("
  #if IS_ENABLED(CONFIG_SUNRPC_DEBUG)
                ^

Since this was only used to define NFSD_DEBUG if CONFIG_SUNRPC_DEBUG
is enabled, replace instances of NFSD_DEBUG with CONFIG_SUNRPC_DEBUG.

Cc: stable@vger.kernel.org
Fixes: f895b252d4 "sunrpc: eliminate RPC_DEBUG"
Signed-off-by: Mark Salter <msalter@redhat.com>
Reviewed-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2015-04-21 16:16:02 -04:00
..
Kbuild UAPI: (Scripted) Disintegrate include/linux/nfsd 2012-10-09 09:49:02 +01:00
cld.h UAPI: (Scripted) Disintegrate include/linux/nfsd 2012-10-09 09:49:02 +01:00
debug.h nfsd: eliminate NFSD_DEBUG 2015-04-21 16:16:02 -04:00
export.h nfsd: add NFSEXP_PNFS to the exflags array 2015-04-03 10:00:59 -04:00
nfsfh.h nfsd: clean up fh_auth usage 2014-05-08 12:43:03 -04:00
stats.h UAPI: (Scripted) Disintegrate include/linux/nfsd 2012-10-09 09:49:02 +01:00