summaryrefslogtreecommitdiff
path: root/fs/dlm/recoverd.h
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2012-08-02 20:08:21 +0400
committerDavid Teigland <teigland@redhat.com>2012-08-08 20:33:49 +0400
commit475f230c6072fb2186f48b23943afcd0ee3a8343 (patch)
tree42c7979e644138ed93f30f2cd8cf2c33bb849078 /fs/dlm/recoverd.h
parent6ad2291624824c1de19dbbbbb6d4f9f601b60781 (diff)
downloadlinux-475f230c6072fb2186f48b23943afcd0ee3a8343.tar.xz
dlm: fix unlock balance warnings
The in_recovery rw_semaphore has always been acquired and released by different threads by design. To work around the "BUG: bad unlock balance detected!" messages, adjust things so the dlm_recoverd thread always does both down_write and up_write. Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/recoverd.h')
-rw-r--r--fs/dlm/recoverd.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/dlm/recoverd.h b/fs/dlm/recoverd.h
index 866657c5d69d..8856079733fa 100644
--- a/fs/dlm/recoverd.h
+++ b/fs/dlm/recoverd.h
@@ -14,7 +14,6 @@
#ifndef __RECOVERD_DOT_H__
#define __RECOVERD_DOT_H__
-void dlm_recoverd_kick(struct dlm_ls *ls);
void dlm_recoverd_stop(struct dlm_ls *ls);
int dlm_recoverd_start(struct dlm_ls *ls);
void dlm_recoverd_suspend(struct dlm_ls *ls);