]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[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)
commitba542e3b92f9ea7c482ae56b68b9122eebc53a39
tree22ab000c6d5aca9d0c34ef68b8901048628672ed
parent26d83dedf61d26d85f10bc34b92f4de7660fd746
[DLM] Fix kref_put oops

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>
fs/dlm/lockspace.c