diff options
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | 2014-12-30 12:59:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-02 23:41:29 +0300 |
commit | d0d012509f2ecee9af1857ccacac33b2266c6ce8 (patch) | |
tree | 21c623ec85ad80b7c88c5986972c1d519112eb05 /fs/jfs/ioctl.c | |
parent | a51e0df4c1e06afd7aba84496c14238e6b363caa (diff) | |
download | linux-d0d012509f2ecee9af1857ccacac33b2266c6ce8.tar.xz |
net/mlx4_core: Fix error flow in mlx4_init_hca()
We shouldn't call UNMAP_FA here, this is done in mlx4_load_one.
If mlx4_query_func fails, we need to invoke CLOSE_HCA for both
native and master.
Fixes: a0eacca948d2 ('net/mlx4_core: Refactor mlx4_load_one')
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/jfs/ioctl.c')
0 files changed, 0 insertions, 0 deletions