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;
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);
/* 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);