-#include <linux/lustre_sec.h>
-
-kmem_cache_t *capa_cachep = NULL;
-
-/* capa_lock protect capa hash, list and content. */
-spinlock_t capa_lock = SPIN_LOCK_UNLOCKED;
-struct hlist_head *capa_hash;
-struct list_head capa_list[3];
-static int capa_count[3] = { 0 };
-
-static char *capa_type_name[] = { "client", "mds", "filter" };
-
-/* TODO: mdc and llite all need this, so define it here.
- * in the future it will be moved to ll_sb_info to support multi-
- * mount point */
-struct timer_list ll_capa_timer;
-atomic_t ll_capa_stat = ATOMIC_INIT(0);
-
-EXPORT_SYMBOL(capa_lock);
-EXPORT_SYMBOL(capa_hash);
-EXPORT_SYMBOL(capa_list);
-EXPORT_SYMBOL(ll_capa_timer);
-EXPORT_SYMBOL(ll_capa_stat);
-
-static inline int const
-capa_hashfn(unsigned int uid, __u64 mdsid, unsigned long ino)
-{
- return (ino ^ uid) * (unsigned long)(mdsid + 1) % NR_CAPAHASH;
-}