Whamcloud - gitweb
LU-2880 ldiskfs: Added mount option to enable dirdata.
[fs/lustre-release.git] / lustre / obdclass / capa.c
index 8f67dc7..5f5bc1b 100644 (file)
@@ -184,7 +184,7 @@ static inline void capa_delete_lru(cfs_list_t *head)
         while (count++ < LRU_CAPA_DELETE_COUNT) {
                 ocapa = cfs_list_entry(node, struct obd_capa, c_list);
                 node = node->next;
-                if (cfs_atomic_read(&ocapa->c_refc))
+               if (atomic_read(&ocapa->c_refc))
                         continue;
 
                 DEBUG_CAPA(D_SEC, &ocapa->c_capa, "free lru");