diff options
author | Joel Becker <joel.becker@oracle.com> | 2008-05-30 18:30:49 -0400 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-06-16 13:46:50 -0400 |
commit | 3878f110f71a0971ff7acc15dd6db711b6ef37c6 (patch) | |
tree | 39d5e1e8508cab23ba79c5da5abf897ca5843a9b /fs/ocfs2/stack_o2cb.c | |
parent | 066519068ad2fbe98c7f45552b1f592903a9c8c8 (diff) |
ocfs2: Move the hb_ctl_path sysctl into the stack glue.
ocfs2 needs to call out to the hb_ctl program at unmount for all cluster
stacks. The first step is to move the hb_ctl_path sysctl out of the
o2cb code and into the generic stack glue.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/stack_o2cb.c')
-rw-r--r-- | fs/ocfs2/stack_o2cb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/stack_o2cb.c b/fs/ocfs2/stack_o2cb.c index bbd1667aa7d3..fb26a7c69c47 100644 --- a/fs/ocfs2/stack_o2cb.c +++ b/fs/ocfs2/stack_o2cb.c | |||
@@ -338,7 +338,7 @@ static void o2hb_stop(const char *group) | |||
338 | int ret; | 338 | int ret; |
339 | char *argv[5], *envp[3]; | 339 | char *argv[5], *envp[3]; |
340 | 340 | ||
341 | argv[0] = (char *)o2nm_get_hb_ctl_path(); | 341 | argv[0] = (char *)ocfs2_get_hb_ctl_path(); |
342 | argv[1] = "-K"; | 342 | argv[1] = "-K"; |
343 | argv[2] = "-u"; | 343 | argv[2] = "-u"; |
344 | argv[3] = (char *)group; | 344 | argv[3] = (char *)group; |