Fix userspace race in checking source of mount by having the kernel do the check at mount time when a flag is specified. The second patch fixes the parameter type in the already upstream patch.