commit | 79d72b54483bf81b9f9de0dd555c710ac7267986 | [log] [tgz] |
---|---|---|
author | David Teigland <teigland@redhat.com> | Fri May 18 09:02:20 2007 -0500 |
committer | Steven Whitehouse <swhiteho@redhat.com> | Mon Jul 09 08:22:40 2007 +0100 |
tree | 271298ddf4864631e7afe0c54239b46e7c4a81dc | |
parent | c85d65e91430db94ae9ce0cf38b56e496658b642 [diff] |
[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 <teigland@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>