From: David Teigland Date: Fri, 18 May 2007 14:02:20 +0000 (-0500) Subject: [DLM] fix new_lockspace error exit [5/6] X-Git-Tag: v2.6.23-rc1~1156^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79d72b54483bf81b9f9de0dd555c710ac7267986;p=pandora-kernel.git [DLM] fix new_lockspace error exit [5/6] Fix the error path when exiting new_lockspace(). It was kfree'ing the lockspace struct at the end, but that's only valid if it exits before kobject_register occured. After kobject_register we have to let the kobject do the freeing. Signed-off-by: David Teigland Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed