Commutative rings whose zero-divisor graphs have positive genus