Cystitis is the infection of the urinary bladder . Cystitis is a term that refers to urinary bladder inflammation that results from any one of a number of distinct syndromes . It is most commonly caused by a bacterial infection in which case it is referred to as a urinary tract infection .