From: Linus Torvalds Date: Tue, 17 Jul 2007 19:07:25 GMT Subject: Re: [PATCH] Do _not_ call unlink on a directory Message-ID: In-Reply-To: <7vtzs3a0xg.fsf@assigned-by-dhcp.cox.net> On Tue, 17 Jul 2007, Junio C Hamano wrote: > > This is wrong. If the filesystem has a symlink and we would > want a directory there, we should unlink(). So at least the > stat there needs to be lstat(). Good catch. Ack. Linus