Whamcloud - gitweb
LU-5252 hsm: make path argument to fifo event a const
[fs/lustre-release.git] / libcfs / include / libcfs / lucache.h
index 6904315..4a5cbeb 100644 (file)
@@ -74,24 +74,24 @@ struct md_perm {
 };
 
 struct md_identity {
-        struct upcall_cache_entry *mi_uc_entry;
-        uid_t                      mi_uid;
-        gid_t                      mi_gid;
-        cfs_group_info_t          *mi_ginfo;
-        int                        mi_nperms;
-        struct md_perm            *mi_perms;
+       struct upcall_cache_entry *mi_uc_entry;
+       uid_t                      mi_uid;
+       gid_t                      mi_gid;
+       struct group_info          *mi_ginfo;
+       int                        mi_nperms;
+       struct md_perm            *mi_perms;
 };
 
 struct upcall_cache_entry {
-       cfs_list_t              ue_hash;
-       __u64                   ue_key;
-       cfs_atomic_t            ue_refcount;
-       int                     ue_flags;
+       struct list_head        ue_hash;
+       __u64                   ue_key;
+       atomic_t                ue_refcount;
+       int                     ue_flags;
        wait_queue_head_t       ue_waitq;
-       cfs_time_t              ue_acquire_expire;
-       cfs_time_t              ue_expire;
+       cfs_time_t              ue_acquire_expire;
+       cfs_time_t              ue_expire;
        union {
-               struct md_identity     identity;
+               struct md_identity      identity;
        } u;
 };
 
@@ -118,7 +118,7 @@ struct upcall_cache_ops {
 };
 
 struct upcall_cache {
-       cfs_list_t              uc_hashtable[UC_CACHE_HASH_SIZE];
+       struct list_head        uc_hashtable[UC_CACHE_HASH_SIZE];
        spinlock_t              uc_lock;
        rwlock_t                uc_upcall_rwlock;