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-12201 lnet: detach response tracker
[fs/lustre-release.git]
/
lnet
/
lnet
/
lib-msg.c
diff --git
a/lnet/lnet/lib-msg.c
b/lnet/lnet/lib-msg.c
index
be2f94a
..
74491a2
100644
(file)
--- a/
lnet/lnet/lib-msg.c
+++ b/
lnet/lnet/lib-msg.c
@@
-774,13
+774,7
@@
lnet_msg_detach_md(struct lnet_msg *msg, int cpt, int status)
}
if (unlink) {
}
if (unlink) {
- /*
- * if this is an ACK or a REPLY then make sure to remove the
- * response tracker.
- */
- if (msg->msg_ev.type == LNET_EVENT_REPLY ||
- msg->msg_ev.type == LNET_EVENT_ACK)
- lnet_detach_rsp_tracker(msg->msg_md, cpt);
+ lnet_detach_rsp_tracker(md, cpt);
lnet_md_unlink(md);
}
lnet_md_unlink(md);
}