[PATCH mmotm 2/3] userns: don't define init_user_ns inipc_namespace.h

From: Serge E. Hallyn
Date: Wed Mar 02 2011 - 21:57:23 EST


It shouldn't be needed since ipc/msgutil.c includes security.h
which includes fs.h, which forward declares it.

---
include/linux/ipc_namespace.h | 1 -
1 file changed, 1 deletion(-)

Index: linux-2.6/include/linux/ipc_namespace.h
===================================================================
--- linux-2.6.orig/include/linux/ipc_namespace.h 2011-03-03 01:55:46.191177396 +0000
+++ linux-2.6/include/linux/ipc_namespace.h 2011-03-03 01:58:51.964414007 +0000
@@ -17,7 +17,6 @@
#define IPCNS_CALLBACK_PRI 0

struct user_namespace;
-extern struct user_namespace init_user_ns;

struct ipc_ids {
int in_use;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/