diff options
| author | Christoph Hellwig <hch@lst.de> | 2014-05-06 13:37:16 -0400 |
|---|---|---|
| committer | J. Bruce Fields <bfields@redhat.com> | 2014-05-06 17:54:56 -0400 |
| commit | 6f226e2ab1b895c8685e868af0a5f797fcaaaf57 (patch) | |
| tree | cfd53fa04ce0249706e818fe058e2bbe9fc452a2 | |
| parent | 7f94423e8fcc1e0f3416be76d3da0982f586d565 (diff) | |
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>
| -rw-r--r-- | fs/nfsd/nfsd.h | 9 | ||||
| -rw-r--r-- | include/linux/nfsd/debug.h | 19 |
2 files changed, 8 insertions, 20 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 @@ | |||
| 18 | #include <linux/sunrpc/svc.h> | 18 | #include <linux/sunrpc/svc.h> |
| 19 | #include <linux/sunrpc/msg_prot.h> | 19 | #include <linux/sunrpc/msg_prot.h> |
| 20 | 20 | ||
| 21 | #include <linux/nfsd/debug.h> | 21 | #include <uapi/linux/nfsd/debug.h> |
| 22 | 22 | ||
| 23 | #include "stats.h" | 23 | #include "stats.h" |
| 24 | #include "export.h" | 24 | #include "export.h" |
| 25 | 25 | ||
| 26 | #undef ifdebug | ||
| 27 | #ifdef NFSD_DEBUG | ||
| 28 | # define ifdebug(flag) if (nfsd_debug & NFSDDBG_##flag) | ||
| 29 | #else | ||
| 30 | # define ifdebug(flag) if (0) | ||
| 31 | #endif | ||
| 32 | |||
| 26 | /* | 33 | /* |
| 27 | * nfsd version | 34 | * nfsd version |
| 28 | */ | 35 | */ |
diff --git a/include/linux/nfsd/debug.h b/include/linux/nfsd/debug.h deleted file mode 100644 index 19ef8375b577..000000000000 --- a/include/linux/nfsd/debug.h +++ /dev/null | |||
| @@ -1,19 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * linux/include/linux/nfsd/debug.h | ||
| 3 | * | ||
| 4 | * Debugging-related stuff for nfsd | ||
| 5 | * | ||
| 6 | * Copyright (C) 1995 Olaf Kirch <okir@monad.swb.de> | ||
| 7 | */ | ||
| 8 | #ifndef LINUX_NFSD_DEBUG_H | ||
| 9 | #define LINUX_NFSD_DEBUG_H | ||
| 10 | |||
| 11 | #include <uapi/linux/nfsd/debug.h> | ||
| 12 | |||
| 13 | # undef ifdebug | ||
| 14 | # ifdef NFSD_DEBUG | ||
| 15 | # define ifdebug(flag) if (nfsd_debug & NFSDDBG_##flag) | ||
| 16 | # else | ||
| 17 | # define ifdebug(flag) if (0) | ||
| 18 | # endif | ||
| 19 | #endif /* LINUX_NFSD_DEBUG_H */ | ||
