diff options
author | Christoph Hellwig <hch@lst.de> | 2014-05-06 19:37:16 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-05-06 23:54:56 +0200 |
commit | 6f226e2ab1b895c8685e868af0a5f797fcaaaf57 (patch) | |
tree | cfd53fa04ce0249706e818fe058e2bbe9fc452a2 /fs/nfsd/nfsd.h | |
parent | nfsd: move <linux/nfsd/stats.h> to fs/nfsd (diff) | |
download | linux-6f226e2ab1b895c8685e868af0a5f797fcaaaf57.tar.xz linux-6f226e2ab1b895c8685e868af0a5f797fcaaaf57.zip |
nfsd: remove <linux/nfsd/debug.h>
There is almost nothing left it in, just merge it into the only file
that includes it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfsd.h')
-rw-r--r-- | fs/nfsd/nfsd.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/fs/nfsd/nfsd.h b/fs/nfsd/nfsd.h index 7a07f9c6ee78..e9f2fd42d184 100644 --- a/fs/nfsd/nfsd.h +++ b/fs/nfsd/nfsd.h @@ -18,11 +18,18 @@ #include <linux/sunrpc/svc.h> #include <linux/sunrpc/msg_prot.h> -#include <linux/nfsd/debug.h> +#include <uapi/linux/nfsd/debug.h> #include "stats.h" #include "export.h" +#undef ifdebug +#ifdef NFSD_DEBUG +# define ifdebug(flag) if (nfsd_debug & NFSDDBG_##flag) +#else +# define ifdebug(flag) if (0) +#endif + /* * nfsd version */ |