From: Jan Kara Date: Mon, 20 Oct 2008 17:23:54 +0000 (+0200) Subject: ocfs2: Let inode be really deleted when ocfs2_mknod_locked() fails X-Git-Tag: v2.6.28-rc5~82^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b99835c1684918b9975851d71455c5c007d1715b;p=pandora-kernel.git ocfs2: Let inode be really deleted when ocfs2_mknod_locked() fails We forgot to set i_nlink to 0 when returning due to error from ocfs2_mknod_locked() and thus inode was not properly released via ocfs2_delete_inode() (e.g. claimed space was not released). Fix it. Signed-off-by: Jan Kara Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed