aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2009-06-17 19:27:57 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-18 16:03:56 -0400
commit665c7741fb63c7ceeb515f1d1ed8b016efe65bf3 (patch)
tree2c7a06e02d444bb773808c497c680a5b2db7af23 /include
parentb4188def441197d38f20e0935372780ed7c0e19d (diff)
ipcns: move free_ipcs() proto
Function is really private to ipc/ and avoid struct kern_ipc_perm forward declaration. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Reviewed-by: WANG Cong <xiyou.wangcong@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ipc_namespace.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/ipc_namespace.h b/include/linux/ipc_namespace.h
index 804e4e4a2b62..e408722a84c7 100644
--- a/include/linux/ipc_namespace.h
+++ b/include/linux/ipc_namespace.h
@@ -96,10 +96,6 @@ static inline int mq_init_ns(struct ipc_namespace *ns) { return 0; }
96#if defined(CONFIG_IPC_NS) 96#if defined(CONFIG_IPC_NS)
97extern struct ipc_namespace *copy_ipcs(unsigned long flags, 97extern struct ipc_namespace *copy_ipcs(unsigned long flags,
98 struct ipc_namespace *ns); 98 struct ipc_namespace *ns);
99extern void free_ipcs(struct ipc_namespace *ns, struct ipc_ids *ids,
100 void (*free)(struct ipc_namespace *,
101 struct kern_ipc_perm *));
102
103static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) 99static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns)
104{ 100{
105 if (ns) 101 if (ns)