nfsd: remove <linux/nfsd/debug.h>
authorChristoph Hellwig <hch@lst.de>
Tue, 6 May 2014 17:37:16 +0000 (19:37 +0200)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 6 May 2014 21:54:56 +0000 (17:54 -0400)
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>
fs/nfsd/nfsd.h
include/linux/nfsd/debug.h [deleted file]

index 7a07f9c6ee788580e1f1e2fdff11f93263eea07e..e9f2fd42d18424eb0b7eb8c5d7f4e6777afe1989 100644 (file)
 #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
  */
diff --git a/include/linux/nfsd/debug.h b/include/linux/nfsd/debug.h
deleted file mode 100644 (file)
index 19ef837..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * linux/include/linux/nfsd/debug.h
- *
- * Debugging-related stuff for nfsd
- *
- * Copyright (C) 1995 Olaf Kirch <okir@monad.swb.de>
- */
-#ifndef LINUX_NFSD_DEBUG_H
-#define LINUX_NFSD_DEBUG_H
-
-#include <uapi/linux/nfsd/debug.h>
-
-# undef ifdebug
-# ifdef NFSD_DEBUG
-#  define ifdebug(flag)                if (nfsd_debug & NFSDDBG_##flag)
-# else
-#  define ifdebug(flag)                if (0)
-# endif
-#endif /* LINUX_NFSD_DEBUG_H */