fix potential deadlock in create_one_file
commitd9e08be9d5b632aed84d4ee870543babafe6614b
authorAlex Riesen <raa.lkml@gmail.com>
Thu, 5 Jan 2006 09:00:12 +0000 (5 10:00 +0100)
committerJunio C Hamano <junkio@cox.net>
Fri, 6 Jan 2006 01:22:49 +0000 (5 17:22 -0800)
tree7bd5e3696d0f562d9991b76be18a0959921813ee
parent781411ed46400f95c45c5ca103769288025b39d6
fix potential deadlock in create_one_file

It can happen if the temporary file already exists (i.e. after a panic
and reboot).

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
apply.c