IB/mlx4: Don't allow userspace open while recovering from catastrophic error
[linux-block.git] / drivers / infiniband / hw / mlx4 / mlx4_ib.h
index 8a7dd6795fa0a2117f3f21311c9a1a4eccdf4c9c..3486d7675e56dfece310b090abf0eec93d140ec6 100644 (file)
@@ -175,6 +175,7 @@ struct mlx4_ib_dev {
        spinlock_t              sm_lock;
 
        struct mutex            cap_mask_mutex;
+       bool                    ib_active;
 };
 
 static inline struct mlx4_ib_dev *to_mdev(struct ib_device *ibdev)