]> git.baikalelectronics.ru Git - kernel.git/commit
staging/o2iblnd: Avoid calling ib_query_device
authorOr Gerlitz <ogerlitz@mellanox.com>
Fri, 18 Dec 2015 08:59:49 +0000 (10:59 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 22 Dec 2015 19:39:00 +0000 (14:39 -0500)
commit0ad47f9b46f799aa153642b16a21936c22085e96
treeed62aa58f2a8cbdaa82baf081f09d354d9490cd0
parent8fa11e8ab76bd174ca9350804eb0e3648ea6fc04
staging/o2iblnd: Avoid calling ib_query_device

Instead, use the cached copy of the attributes present on the device.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c