Prisoner riot reverses smoking ban