summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlm/dlmthread.c
diff options
context:
space:
mode:
authorKurt Hackel <kurt.hackel@oracle.com>2006-05-01 19:57:51 +0200
committerMark Fasheh <mark.fasheh@oracle.com>2006-06-26 23:42:58 +0200
commit69d72b066cc5971318d9e29e34289b74cf8a9d22 (patch)
treef8d27fbce0fac31969ff09cdf3c8faa9c9abc56e /fs/ocfs2/dlm/dlmthread.c
parentocfs2: better error handling during assert master message (diff)
downloadlinux-69d72b066cc5971318d9e29e34289b74cf8a9d22.tar.xz
linux-69d72b066cc5971318d9e29e34289b74cf8a9d22.zip
ocfs2: dlm recovery / lockres reference count fix
Take a reference on lockres structures while they are on the recovery list. Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to '')
-rw-r--r--fs/ocfs2/dlm/dlmthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/dlm/dlmthread.c b/fs/ocfs2/dlm/dlmthread.c
index 22bb58a514df..71302b90daf5 100644
--- a/fs/ocfs2/dlm/dlmthread.c
+++ b/fs/ocfs2/dlm/dlmthread.c
@@ -81,7 +81,7 @@ repeat:
}
-static int __dlm_lockres_unused(struct dlm_lock_resource *res)
+int __dlm_lockres_unused(struct dlm_lock_resource *res)
{
if (list_empty(&res->granted) &&
list_empty(&res->converting) &&