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-12678 lnet: use list_move where appropriate.
[fs/lustre-release.git]
/
lnet
/
klnds
/
socklnd
/
socklnd_proto.c
diff --git
a/lnet/klnds/socklnd/socklnd_proto.c
b/lnet/klnds/socklnd/socklnd_proto.c
index
de34b51
..
5fb7811
100644
(file)
--- a/
lnet/klnds/socklnd/socklnd_proto.c
+++ b/
lnet/klnds/socklnd/socklnd_proto.c
@@
-429,8
+429,7
@@
ksocknal_handle_zcack(struct ksock_conn *conn, __u64 cookie1, __u64 cookie2)
if (c == cookie1 || c == cookie2 || (cookie1 < c && c < cookie2)) {
tx->tx_msg.ksm_zc_cookies[0] = 0;
- list_del(&tx->tx_zc_list);
- list_add(&tx->tx_zc_list, &zlist);
+ list_move(&tx->tx_zc_list, &zlist);
if (--count == 0)
break;