fold dup_mnt_ns() into its only surviving caller