]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
RDS: use rb_entry()
authorGeliang Tang <geliangtang@gmail.com>
Tue, 20 Dec 2016 14:02:18 +0000 (22:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Dec 2016 19:22:49 +0000 (14:22 -0500)
commita763f78cea845c91b8d91f93dabf70c407635dc5
tree9b2d4293e2ba1759a8ec7f272cf3df1783d48700
parent7f7cd56c33937c6afa8a3d1f10a804c314e5b308
RDS: use rb_entry()

To make the code clearer, use rb_entry() instead of container_of() to
deal with rbtree.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/rdma.c