LU-8056 o2iblnd: ib_query_device removed in 4.5
We should use the cached attributes in ib_device instead of
calling ib_query_device since kernel 4.5
Linux-commit:
182a2da0c768a9ec64abb0d6009667057f1c06af
Linux-commit:
cebfe5ca038e2a0f677b41e9682501708ffa2ff3
Signed-off-by: Li Dongyang <dongyang.li@anu.edu.au>
Change-Id: Ie2ab681a3b508f0a1f89d3ff86bf2713b7257e62
Reviewed-on: http://review.whamcloud.com/20221
Tested-by: Jenkins
Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>