I've read that Putin told Khameini that an attack on Iran would be treated as an attack on Russia.
A high-level diplomatic source in Tehran tells Asia Times Online that essentially Putin and the Supreme Leader have agreed on a plan to nullify the George W Bush administration's relentless drive towards launching a preemptive attack, perhaps a tactical nuclear strike, against Iran. An American attack on Iran will be viewed by Moscow as an attack on Russia.
There is zero chance that this is true, but it doesn't have to be.
I've also read that Putin informed Khameini that he would not fuel Bushehr, (unless Iran suspends enrichment of uranium, which Khameini surely told Putin he wouldn't.
According to Olmert, Russia won’t supply nuclear fuel to Iran despite all rumors. The Kremlin realizes significance of this decision and is well aware that the international community opposes such supplies.
This is true.
Putin knows the United States is not going to bomb Iran, so there is no cost in saying something like Russia will treat an attack on Iran as an attack on Russia.
But Putin likely did tell Khameini that Russia would not fuel Bushehr without a suspension. The thing is that if Russia has been influenced by the US to withhold the fuel, Iran does not trust Russia as a fuel supplier in the future. Which increases the urgency that Iran have a backup capability to enrich fuel domestically.