target: move write_same to struct spc_ops