git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
menuconfig: dont use obsolete index() function in lxdialog
[sfrench/cifs-2.6.git]
/
ipc
/
util.c
diff --git
a/ipc/util.c
b/ipc/util.c
index 08a647965b9e9c360ce0e182b53e294d347d2578..0b652387d169a6b6af1609071bfb3aa2e8a6b954 100644
(file)
--- a/
ipc/util.c
+++ b/
ipc/util.c
@@
-144,6
+144,13
@@
void free_ipc_ns(struct kref *kref)
shm_exit_ns(ns);
kfree(ns);
}
+#else
+int copy_ipcs(unsigned long flags, struct task_struct *tsk)
+{
+ if (flags & CLONE_NEWIPC)
+ return -EINVAL;
+ return 0;
+}
#endif
/**