Whamcloud - gitweb
Land b_hd_capa onto HEAD (20050809_1942)
[fs/lustre-release.git] / lustre / lmv / lmv_obd.c
index 994e002..c3119b4 100644 (file)
@@ -686,7 +686,8 @@ static int lmv_getstatus(struct obd_export *exp, struct lustre_id *id)
 static int lmv_getattr(struct obd_export *exp, struct lustre_id *id,
                        __u64 valid, const char *xattr_name,
                        const void *xattr_data, unsigned int xattr_datalen,
-                       unsigned int ea_size, struct ptlrpc_request **request)
+                       unsigned int ea_size, struct obd_capa *ocapa,
+                       struct ptlrpc_request **request)
 {
         struct obd_device *obd = exp->exp_obd;
         struct lmv_obd *lmv = &obd->u.lmv;
@@ -703,7 +704,7 @@ static int lmv_getattr(struct obd_export *exp, struct lustre_id *id,
 
         rc = md_getattr(lmv->tgts[i].ltd_exp, id, valid,
                         xattr_name, xattr_data, xattr_datalen,
-                        ea_size, request);
+                        ea_size, ocapa, request);
         if (rc)
                 RETURN(rc);
         
@@ -893,7 +894,7 @@ int lmv_get_mea_and_update_object(struct obd_export *exp,
 
         /* time to update mea of parent id */
         rc = md_getattr(lmv->tgts[id_group(id)].ltd_exp,
-                        id, valid, NULL, NULL, 0, mealen, &req);
+                        id, valid, NULL, NULL, 0, mealen, NULL, &req);
         if (rc) {
                 CERROR("md_getattr() failed, error %d\n", rc);
                 GOTO(cleanup, rc);