Whamcloud - gitweb
LU-6245 tests: remove it_test
[fs/lustre-release.git] / lustre / ldlm / interval_tree.c
index e69d13f..b39b105 100644 (file)
  *
  * You should have received a copy of the GNU General Public License
  * version 2 along with this program; If not, see
- * http://www.sun.com/software/products/lustre/docs/GPLv2.pdf
- *
- * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
- * CA 95054 USA or visit www.sun.com if you need additional information or
- * have any questions.
+ * http://www.gnu.org/licenses/gpl-2.0.html
  *
  * GPL HEADER END
  */
  * Author: Huang Wei <huangwei@clusterfs.com>
  * Author: Jay Xiong <jinshan.xiong@sun.com>
  */
-#ifdef __KERNEL__
-# include <lustre_dlm.h>
-#else
-# include <libcfs/libcfs.h>
-#endif
+
+#include <lustre_dlm.h>
 #include <interval_tree.h>
 
 enum {
@@ -116,7 +109,6 @@ int node_equal(struct interval_node *n1, struct interval_node *n2)
 {
        return extent_equal(&n1->in_extent, &n2->in_extent);
 }
-EXPORT_SYMBOL(node_equal);
 
 static inline __u64 max_u64(__u64 x, __u64 y)
 {
@@ -768,4 +760,3 @@ void interval_expand(struct interval_node *root,
                 ext->end = interval_expand_high(root, ext->end);
         LASSERT(interval_is_overlapped(root, ext) == 0);
 }
-EXPORT_SYMBOL(interval_expand);