Whamcloud - gitweb
b=17167 cfs_rcu_head cleanup in lustre source
[fs/lustre-release.git] / lustre / include / lustre_handles.h
index 5db904e..afc9ddb 100644 (file)
@@ -26,7 +26,7 @@
  * GPL HEADER END
  */
 /*
- * Copyright  2008 Sun Microsystems, Inc. All rights reserved
+ * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
  */
 /*
 
 #include <libcfs/libcfs.h>
 
+#if !defined(HAVE_RCU) || !defined(__KERNEL__)
+typedef struct {
+        int foo;
+} cfs_rcu_head_t;
+#endif
+
 typedef void (*portals_handle_addref_cb)(void *object);
 
 /* These handles are most easily used by having them appear at the very top of