From: Cedric Le Goater Date: Wed, 17 Oct 2007 06:29:40 +0000 (-0700) Subject: ipc namespace: remove config ipc ns fix X-Git-Tag: v2.6.24-rc1~632 X-Git-Url: http://ftp.safe.ca/?p=safe%2Fjmp%2Flinux-2.6;a=commitdiff_plain;h=a08b4be74ca4199838cbb03d90906a0fd70d3b3c ipc namespace: remove config ipc ns fix Finish the work : kill all #ifdef CONFIG_IPC_NS. Thanks Robert ! Signed-off-by: Cedric Le Goater Cc: Eric Biederman Cc: Robert P. J. Day Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/ipc/ipc_sysctl.c b/ipc/ipc_sysctl.c index a88934a..79e24e8 100644 --- a/ipc/ipc_sysctl.c +++ b/ipc/ipc_sysctl.c @@ -15,7 +15,6 @@ #include #include -#ifdef CONFIG_IPC_NS static void *get_ipc(ctl_table *table) { char *which = table->data; @@ -23,9 +22,6 @@ static void *get_ipc(ctl_table *table) which = (which - (char *)&init_ipc_ns) + (char *)ipc_ns; return which; } -#else -#define get_ipc(T) ((T)->data) -#endif #ifdef CONFIG_PROC_FS static int proc_ipc_dointvec(ctl_table *table, int write, struct file *filp,