Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 70668
b: refs/heads/master
c: a08b4be
h: refs/heads/master
v: v3
  • Loading branch information
Cedric Le Goater authored and Linus Torvalds committed Oct 17, 2007
1 parent 85d5f91 commit b393183
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c98673fee235c158bef237a7851c742976d66284
refs/heads/master: a08b4be74ca4199838cbb03d90906a0fd70d3b3c
4 changes: 0 additions & 4 deletions trunk/ipc/ipc_sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,13 @@
#include <linux/sysctl.h>
#include <linux/uaccess.h>

#ifdef CONFIG_IPC_NS
static void *get_ipc(ctl_table *table)
{
char *which = table->data;
struct ipc_namespace *ipc_ns = current->nsproxy->ipc_ns;
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,
Expand Down

0 comments on commit b393183

Please sign in to comment.