Meningitis is an infection of the fluid in a person 's spinal cord and around the brain .