diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-02-18 06:37:49 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-10-12 04:36:53 +0200 |
commit | 6d1ff4d6f37dc3c14d9fc08dbbbb920a12c21f84 (patch) | |
tree | 1fac0bcee08915556aa24f7ed665220cb0117195 | |
parent | xen: don't open-code iov_iter_kvec() (diff) | |
download | linux-6d1ff4d6f37dc3c14d9fc08dbbbb920a12c21f84.tar.xz linux-6d1ff4d6f37dc3c14d9fc08dbbbb920a12c21f84.zip |
lnet_return_rx_credits_locked: don't abuse list_entry
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | drivers/staging/lustre/lnet/lnet/lib-move.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lnet/lnet/lib-move.c b/drivers/staging/lustre/lnet/lnet/lib-move.c index bc0779c02d97..2b96c02bed50 100644 --- a/drivers/staging/lustre/lnet/lnet/lib-move.c +++ b/drivers/staging/lustre/lnet/lnet/lib-move.c @@ -889,7 +889,7 @@ lnet_return_rx_credits_locked(struct lnet_msg *msg) */ LASSERT(msg->msg_kiov); - rb = list_entry(msg->msg_kiov, struct lnet_rtrbuf, rb_kiov[0]); + rb = container_of(msg->msg_kiov, struct lnet_rtrbuf, rb_kiov[0]); rbp = rb->rb_pool; msg->msg_kiov = NULL; |