Bugzilla – Attachment #65386: fix for bug #143352
if ((flags & MS_MGC_MSK) == 0)
flags |= MS_MGC_VAL;
ret = mount (args->spec, args->node, args->type, flags, args->data);
/* don't pass MS_HOTPLUG to the kernel (Bug: 143352) */
ret = mount (args->spec, args->node, args->type, flags & !MS_HOTPLUG, args->data);
if (ret == 0)
mountcount++;
return ret;