Bristol City are in talks with with League One rivals Peterborough United over striker Tyrone Barnett.