All of lore.kernel.org
 help / color / mirror / Atom feed
* [folded] brlocks-lglocks-cleanups-fix.patch removed from -mm tree
@ 2012-03-28 22:13 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2012-03-28 22:13 UTC (permalink / raw)
  To: levinsasha928, ak, rusty, viro, mm-commits


The patch titled
     Subject: vfs: fix dup_mnt_ns
has been removed from the -mm tree.  Its filename was
     brlocks-lglocks-cleanups-fix.patch

This patch was dropped because it was folded into brlocks-lglocks-cleanups.patch

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
From: Sasha Levin <levinsasha928@gmail.com>
Subject: vfs: fix dup_mnt_ns

Commit f8b88187 ("brlocks/lglocks: cleanups") has accidently dropped the
assignment of the new root into the mnt_fs.

This leads to NULL dereferences since ->root is assumed to be always non-NULL.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 fs/namespace.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN fs/namespace.c~brlocks-lglocks-cleanups-fix fs/namespace.c
--- a/fs/namespace.c~brlocks-lglocks-cleanups-fix
+++ a/fs/namespace.c
@@ -2250,6 +2250,7 @@ static struct mnt_namespace *dup_mnt_ns(
 		kfree(new_ns);
 		return ERR_PTR(-ENOMEM);
 	}
+	new_ns->root = new;
 	br_write_lock(&vfsmount_lock);
 	list_add_tail(&new_ns->list, &new->mnt_list);
 	br_write_unlock(&vfsmount_lock);
_

Patches currently in -mm which might be from levinsasha928@gmail.com are

origin.patch
smp-introduce-a-generic-on_each_cpu_mask-function.patch
smp-add-func-to-ipi-cpus-based-on-parameter-func.patch
slub-only-ipi-cpus-that-have-per-cpu-obj-to-flush.patch
linux-next.patch
brlocks-lglocks-cleanups.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-28 22:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-28 22:13 [folded] brlocks-lglocks-cleanups-fix.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.