diff options
author | David Teigland <teigland@redhat.com> | 2007-05-18 16:02:20 +0200 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-07-09 09:22:40 +0200 |
commit | 79d72b54483bf81b9f9de0dd555c710ac7267986 (patch) | |
tree | 271298ddf4864631e7afe0c54239b46e7c4a81dc /fs/dlm/rcom.c | |
parent | [DLM] cancel in conversion deadlock [4/6] (diff) | |
download | linux-79d72b54483bf81b9f9de0dd555c710ac7267986.tar.xz linux-79d72b54483bf81b9f9de0dd555c710ac7267986.zip |
[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>
Diffstat (limited to 'fs/dlm/rcom.c')
0 files changed, 0 insertions, 0 deletions