i=andreas.dilger
i=maxim.patlasov
void *item);
void *radix_tree_delete(struct radix_tree_root *root, unsigned long index);
-typedef struct cfs_rcu_head {
- int foo;
-} cfs_rcu_head_t;
-
#else /* !__KERNEL__ */
#if !defined(_WINDOWS_)
#define EXPORT_SYMBOL(S)
-typedef struct cfs_rcu_head { } cfs_rcu_head_t;
-
typedef __u64 kdev_t;
#ifndef min
# ifdef HAVE_RCU
# include <linux/rcupdate.h> /* for rcu_head{} */
typedef struct rcu_head cfs_rcu_head_t;
-# else
-typedef struct cfs_rcu_head { } cfs_rcu_head_t;
# endif
#endif /* ifdef __KERNEL__ */
#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