Whamcloud - gitweb
LU-6401 header: remove libcfs.h in interval_tree.h 23/24323/3
authorJames Simmons <uja.ornl@yahoo.com>
Tue, 13 Dec 2016 18:28:31 +0000 (13:28 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 1 Jan 2017 02:01:13 +0000 (02:01 +0000)
The header libcfs.h for interval_tree.h is not needed
so we can just use the standard linux kernel headers

Test-Parameters: trivial

Change-Id: I9c2c4f7e9bc227876818ff7213f392bdeb1112e0
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/24323
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Frank Zago <fzago@cray.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>

index 436598f..1598119 100644 (file)
@@ -36,7 +36,9 @@
 #ifndef _INTERVAL_H__
 #define _INTERVAL_H__
-#include <libcfs/libcfs.h>   /* LASSERT. */
+#include <linux/errno.h>
+#include <linux/string.h>
+#include <linux/types.h>
 struct interval_node {
         struct interval_node   *in_left;