Whamcloud - gitweb
LU-3963 ofd: convert to linux list api
[fs/lustre-release.git] / lustre / ofd / ofd_capa.c
index 7e5fd88..26c86d4 100644 (file)
@@ -106,7 +106,7 @@ int ofd_update_capa_key(struct ofd_device *ofd, struct lustre_capa_key *new)
                OBD_ALLOC_PTR(k);
                if (!k)
                        RETURN(-ENOMEM);
-               CFS_INIT_LIST_HEAD(&k->k_list);
+               INIT_LIST_HEAD(&k->k_list);
        }
 
        spin_lock(&capa_lock);