/* Copied from old ntfs driver (which copied from vfat driver).  */
static int simple_getbool(char *s, bool *setval)
/* Copied from old ntfs driver (which copied from vfat driver).  */
static int simple_getbool(char *s, bool *setval)
{
	if (s) {
		if (!strcmp(s, "1") || !strcmp(s, "yes") || !strcmp(s, "true"))
			*setval = true;
		else if (!strcmp(s, "0") || !strcmp(s, "no") ||
							!strcmp(s, "false"))
			*setval = false;
		else
			return 0;
	} else
		*setval = true;
	return 1;
}