Whamcloud - gitweb
LU-6245 libcfs: cleanup up libcfs hash code for upstream
[fs/lustre-release.git] / lustre / include / lu_object.h
index d67d8fc..39d9d22 100644 (file)
@@ -645,7 +645,7 @@ struct lu_site {
         /**
          * objects hash table
          */
-       cfs_hash_t              *ls_obj_hash;
+       struct cfs_hash         *ls_obj_hash;
         /**
          * index of bucket on hash table while purging
          */
@@ -689,7 +689,7 @@ struct lu_site {
 static inline struct lu_site_bkt_data *
 lu_site_bkt_from_fid(struct lu_site *site, struct lu_fid *fid)
 {
-        cfs_hash_bd_t bd;
+       struct cfs_hash_bd bd;
 
         cfs_hash_bd_get(site->ls_obj_hash, fid, &bd);
         return cfs_hash_bd_extra_get(site->ls_obj_hash, &bd);