Bug 845613 - Locking issues in the write poisoning code. r=BenWa.

--HG--
extra : rebase_source : 49cbd361b1cd22e7d47546ec1c0292674b156f07