commit | 5adebafb75bdfbbe4ec69f14c3613e70f6ed7f6f | [log] [tgz] |
---|---|---|
author | Leon Romanovsky <leon@leon.nu> | Sun Feb 21 18:12:26 2016 +0200 |
committer | Doug Ledford <dledford@redhat.com> | Mon Feb 29 20:41:47 2016 -0500 |
tree | 1f77f42aafebb111009177b3997de34c53d3ca23 | |
parent | c2bab619813a525d3f58b5ffbfcdc4edee27e497 [diff] |
IB/core: Fix missed clean call in registration path In case of failure returned from query function in IB device registration, we need to clean IB cache which was missed. This change fixes it. Fixes: 3e153a93a1c1 ('IB/core: Save the device attributes on the device structure') Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>