B cell infiltration is associated with the increased IL-17 and IL-22 expression in the lungs of patients with tuberculosis.