From: Aneesh Kumar K.V Date: Fri, 22 Feb 2008 11:17:31 +0000 (-0500) Subject: ext4: Don't leave behind a half-created inode if ext4_mkdir() fails X-Git-Tag: v2.6.25-rc4~155^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cdeed861b5f797b3fa661eb331a6bd6ad669c6a;p=pandora-kernel.git ext4: Don't leave behind a half-created inode if ext4_mkdir() fails If ext4_mkdir() fails to allocate the initial block for the directory, don't leave behind a half-created directory inode with the link count left at one. This was caused by an inappropriate call to ext4_dec_count(). Signed-off-by: Aneesh Kumar K.V Signed-off-by: Mingming Cao Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed