Whamcloud - gitweb
LU-5791 lfsck: use bottom device to locate object
[fs/lustre-release.git] / lustre / ofd / ofd_capa.c
index 7e5fd88..34be763 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);
@@ -136,7 +136,7 @@ int ofd_update_capa_key(struct ofd_device *ofd, struct lustre_capa_key *new)
  * \retval             negative number on error
  */
 int ofd_auth_capa(struct obd_export *exp, const struct lu_fid *fid,
-                 obd_seq seq, struct lustre_capa *capa, __u64 opc)
+                 u64 seq, struct lustre_capa *capa, __u64 opc)
 {
        struct filter_obd       *filter = &exp->exp_obd->u.filter;
        struct filter_capa_key  *k;