Whamcloud - gitweb
LU-6540 test: fix no %s specifier for the file
[fs/lustre-release.git] / lustre / include / interval_tree.h
index 22581e3..82ccea1 100644 (file)
@@ -86,6 +86,13 @@ static inline void interval_set(struct interval_node *node,
         node->in_max_high = end;
 }
 
+static inline void interval_init(struct interval_node *node)
+{
+       memset(node, 0, sizeof(*node));
+}
+
+int node_equal(struct interval_node *n1, struct interval_node *n2);
+
 /* Rules to write an interval callback.
  *  - the callback returns INTERVAL_ITER_STOP when it thinks the iteration
  *    should be stopped. It will then cause the iteration function to return