ocfs2: Another hamming code optimization.
[firefly-linux-kernel-4.4.55.git] / fs / namespace.c
index 1c09cab8f7cf7c4faea9b1e0e4aa8fc6382824c4..a40685d800a84395db6c585bc55bb01b3e20ce0e 100644 (file)
@@ -1990,7 +1990,7 @@ static struct mnt_namespace *dup_mnt_ns(struct mnt_namespace *mnt_ns,
        if (!new_ns->root) {
                up_write(&namespace_sem);
                kfree(new_ns);
-               return ERR_PTR(-ENOMEM);;
+               return ERR_PTR(-ENOMEM);
        }
        spin_lock(&vfsmount_lock);
        list_add_tail(&new_ns->list, &new_ns->root->mnt_list);