Whamcloud - gitweb
LU-6215 libcfs: shrinker code needs atomic.h
[fs/lustre-release.git] / lustre / ldlm / interval_tree.c
index 53c23d5..12efd11 100644 (file)
@@ -26,6 +26,8 @@
 /*
  * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
+ *
+ * Copyright (c) 2014, Intel Corporation.
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
@@ -43,7 +45,6 @@
 #else
 # include <libcfs/libcfs.h>
 #endif
-#include <obd_support.h>
 #include <interval_tree.h>
 
 enum {
@@ -115,7 +116,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)
 {
@@ -767,4 +767,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);