SAN FRANCISCO — On the second go-round, Gregory Reyes wasn’t so lucky.

The Ninth Circuit U.S. Court of Appeals on Thursday upheld Reyes’ conviction for backdating stock options while he was at the helm of Brocade Communications, vindicating prosecutors who saw their first conviction tossed over misconduct.