> The only scenario where this function was called while the lock is > already taken is in the context cleanup scenario. Thus, in order not > to pass the lock state to this function, we just call the remove logic > straight from the cleanup context function. > > Fixes: 3832125624b7 ('IB/core: Add support for idr types') > Signed-off-by: Matan Barak <matanb@xxxxxxxxxxxx> Reviewed-by: Sean Hefty <sean.hefty@xxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html