/* Leave the group for this filesystem. This is executed by a userspace program (stored in ocfs2_hb_ctl_path).  */
static void ocfs2_leave_group(const char *group)
/* Leave the group for this filesystem. This is executed by a userspace program (stored in ocfs2_hb_ctl_path).  */
static void ocfs2_leave_group(const char *group)
{
	int ret;
	char *argv[5], *envp[3];
	argv[0] = ocfs2_hb_ctl_path;
	argv[1] = "-K";
	argv[2] = "-u";
	argv[3] = (char *)group;
	argv[4] = NULL;
	envp[0] = "HOME=/";
	envp[1] = "PATH=/sbin:/bin:/usr/sbin:/usr/bin";
	envp[2] = NULL;
	ret = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC);
	if (ret < 0) {
		printk(KERN_ERR
		       "ocfs2: Error %d running user helper "
		       "\"%s %s %s %s\"\n",
		       ret, argv[0], argv[1], argv[2], argv[3]);
	}
}