Barnes signed a contract Wednesday with the 49ers.

Barnes spent much of the offseason with the 49ers but didn't survive final roster cuts ahead of Week 1. Now back in San Francisco, Barnes will provide depth along the interior of the offensive line.