diff options
author | Kurt Hackel <kurt.hackel@oracle.com> | 2007-01-17 20:05:53 -0500 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2007-02-07 15:07:24 -0500 |
commit | 3b8118cffad224415c6f6f35abe7ca2a1d79c05a (patch) | |
tree | 2896f977f25b1c874472bdabb90d72c755f95573 /fs/ocfs2/dlm/dlmdomain.c | |
parent | d74c9803a90d733f5fb7270475aa6d14b45796c6 (diff) |
ocfs2_dlm: Calling post handler function in assert master handler
This patch prevents the dlm from sending the clear refmap message
before the set refmap. We use the newly created post function handler
routine to accomplish the task.
Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/dlm/dlmdomain.c')
-rw-r--r-- | fs/ocfs2/dlm/dlmdomain.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ocfs2/dlm/dlmdomain.c b/fs/ocfs2/dlm/dlmdomain.c index 8a208b06fdd7..6590e1bca23c 100644 --- a/fs/ocfs2/dlm/dlmdomain.c +++ b/fs/ocfs2/dlm/dlmdomain.c | |||
@@ -1101,7 +1101,8 @@ static int dlm_register_domain_handlers(struct dlm_ctxt *dlm) | |||
1101 | status = o2net_register_handler(DLM_ASSERT_MASTER_MSG, dlm->key, | 1101 | status = o2net_register_handler(DLM_ASSERT_MASTER_MSG, dlm->key, |
1102 | sizeof(struct dlm_assert_master), | 1102 | sizeof(struct dlm_assert_master), |
1103 | dlm_assert_master_handler, | 1103 | dlm_assert_master_handler, |
1104 | dlm, NULL, &dlm->dlm_domain_handlers); | 1104 | dlm, dlm_assert_master_post_handler, |
1105 | &dlm->dlm_domain_handlers); | ||
1105 | if (status) | 1106 | if (status) |
1106 | goto bail; | 1107 | goto bail; |
1107 | 1108 | ||