Whamcloud - gitweb
b=18948 Speedy recovery
[fs/lustre-release.git] / lustre / fld / fld_internal.h
index 6b50b16..39682f4 100644 (file)
@@ -71,8 +71,8 @@ struct lu_fld_hash {
 };
 
 struct fld_cache_entry {
-        struct list_head         fce_lru;
-        struct list_head         fce_list;
+        cfs_list_t               fce_lru;
+        cfs_list_t               fce_list;
         /**
          * fld cache entries are sorted on range->lsr_start field. */
         struct lu_seq_range      fce_range;
@@ -83,7 +83,7 @@ struct fld_cache {
          * Cache guard, protects fci_hash mostly because others immutable after
          * init is finished.
          */
-        spinlock_t               fci_lock;
+        cfs_spinlock_t           fci_lock;
 
         /**
          * Cache shrink threshold */
@@ -94,16 +94,16 @@ struct fld_cache {
         int                      fci_cache_size;
 
         /**
-         * Current number of cached entries. Protected by @fci_lock */
+         * Current number of cached entries. Protected by \a fci_lock */
         int                      fci_cache_count;
 
         /**
          * LRU list fld entries. */
-        struct list_head         fci_lru;
+        cfs_list_t               fci_lru;
 
         /**
          * sorted fld entries. */
-        struct list_head         fci_entries_head;
+        cfs_list_t               fci_entries_head;
 
         /**
          * Cache statistics. */