[DLM] Fix kref_put oops
authorPatrick Caulfield <pcaulfie@redhat.com>
Thu, 2 Nov 2006 14:41:23 +0000 (14:41 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 6 Nov 2006 14:01:07 +0000 (09:01 -0500)
This patch fixes the recounting on the lockspace kobject. Previously the lockspace was freed while userspace could have had a
reference to one of its sysfs files, causing an oops in kref_put.

Now the lockspace kfree is moved into the kobject release() function

Signed-Off-By: Patrick Caulfield <pcaulfie@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>

No differences found