X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Flmv%2Flmv_obd.c;h=c89dc69d63a2597cdfd219b81a07e7679c3e3e1a;hp=20fb83473144f6cf22977a2663e99d999c3a4e93;hb=4322e0f99c87bc0412d315d0674d70cc1ffc0bb4;hpb=1e0ab9df0e0d6e166ed1d4c83c3fa919a05d61b1;ds=sidebyside diff --git a/lustre/lmv/lmv_obd.c b/lustre/lmv/lmv_obd.c index 20fb834..c89dc69 100644 --- a/lustre/lmv/lmv_obd.c +++ b/lustre/lmv/lmv_obd.c @@ -2719,19 +2719,19 @@ int lmv_free_lustre_md(struct obd_export *exp, struct lustre_md *md) } int lmv_set_open_replay_data(struct obd_export *exp, - struct obd_client_handle *och, - struct ptlrpc_request *open_req) + struct obd_client_handle *och, + struct lookup_intent *it) { - struct obd_device *obd = exp->exp_obd; - struct lmv_obd *lmv = &obd->u.lmv; - struct lmv_tgt_desc *tgt; - ENTRY; + struct obd_device *obd = exp->exp_obd; + struct lmv_obd *lmv = &obd->u.lmv; + struct lmv_tgt_desc *tgt; + ENTRY; - tgt = lmv_find_target(lmv, &och->och_fid); - if (IS_ERR(tgt)) - RETURN(PTR_ERR(tgt)); + tgt = lmv_find_target(lmv, &och->och_fid); + if (IS_ERR(tgt)) + RETURN(PTR_ERR(tgt)); - RETURN(md_set_open_replay_data(tgt->ltd_exp, och, open_req)); + RETURN(md_set_open_replay_data(tgt->ltd_exp, och, it)); } int lmv_clear_open_replay_data(struct obd_export *exp,