Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-2613 recovery: free open/close request promptly
[fs/lustre-release.git]
/
lustre
/
lmv
/
lmv_obd.c
diff --git
a/lustre/lmv/lmv_obd.c
b/lustre/lmv/lmv_obd.c
index
20fb834
..
c89dc69
100644
(file)
--- 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,
}
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,
}
int lmv_clear_open_replay_data(struct obd_export *exp,