Whamcloud - gitweb
LU-5814 llite: remove ll_objects_destroy()
[fs/lustre-release.git] / lustre / include / obd_class.h
index 01ea331..7a76fd5 100644 (file)
@@ -780,18 +780,16 @@ static inline int obd_create(const struct lu_env *env, struct obd_export *exp,
 }
 
 static inline int obd_destroy(const struct lu_env *env, struct obd_export *exp,
-                              struct obdo *obdo, struct lov_stripe_md *ea,
-                              struct obd_trans_info *oti,
-                              struct obd_export *md_exp, void *capa)
+                             struct obdo *obdo, struct obd_trans_info *oti)
 {
-        int rc;
-        ENTRY;
+       int rc;
+       ENTRY;
 
-        EXP_CHECK_DT_OP(exp, destroy);
-        EXP_COUNTER_INCREMENT(exp, destroy);
+       EXP_CHECK_DT_OP(exp, destroy);
+       EXP_COUNTER_INCREMENT(exp, destroy);
 
-        rc = OBP(exp->exp_obd, destroy)(env, exp, obdo, ea, oti, md_exp, capa);
-        RETURN(rc);
+       rc = OBP(exp->exp_obd, destroy)(env, exp, obdo, oti);
+       RETURN(rc);
 }
 
 static inline int obd_getattr(const struct lu_env *env, struct obd_export *exp,