static int lmv_close(struct obd_export *exp,
struct md_op_data *op_data,
- struct obd_client_handle *och,
+ struct md_open_data *mod,
struct ptlrpc_request **request)
{
struct obd_device *obd = exp->exp_obd;
RETURN(PTR_ERR(tgt_exp));
CDEBUG(D_OTHER, "CLOSE "DFID"\n", PFID(&op_data->op_fid1));
- rc = md_close(tgt_exp, op_data, och, request);
+ rc = md_close(tgt_exp, op_data, mod, request);
RETURN(rc);
}
static int lmv_done_writing(struct obd_export *exp,
struct md_op_data *op_data,
- struct obd_client_handle *och)
+ struct md_open_data *mod)
{
struct obd_device *obd = exp->exp_obd;
struct lmv_obd *lmv = &obd->u.lmv;
if (IS_ERR(tgt_exp))
RETURN(PTR_ERR(tgt_exp));
- rc = md_done_writing(tgt_exp, op_data, och);
+ rc = md_done_writing(tgt_exp, op_data, mod);
RETURN(rc);
}
static int lmv_setattr(struct obd_export *exp, struct md_op_data *op_data,
void *ea, int ealen, void *ea2, int ea2len,
- struct ptlrpc_request **request)
+ struct ptlrpc_request **request,
+ struct md_open_data **mod)
{
struct obd_device *obd = exp->exp_obd;
struct lmv_obd *lmv = &obd->u.lmv;
}
rc = md_setattr(tgt_exp, op_data, ea, ealen,
- ea2, ea2len, &req);
+ ea2, ea2len, &req, mod);
if (lu_fid_eq(&obj->lo_fid, &obj->lo_inodes[i].li_fid)) {
/*
RETURN(PTR_ERR(tgt_exp));
rc = md_setattr(tgt_exp, op_data, ea, ealen, ea2,
- ea2len, request);
+ ea2len, request, mod);
}
RETURN(rc);
}