X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fnamespace.h;h=3abc8e3b4879a5eac2dd54374f0fb9b37ca9f3a7;hb=56178645c2686a7ef630e1b23b81d40dcfb553e6;hp=0e5a86f13b2f8b4bbac4b50f32836827fef9fae8;hpb=30beab1491f0b96b2f23d3fb68af01fd921a16d8;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/namespace.h b/include/linux/namespace.h index 0e5a86f13b2..3abc8e3b487 100644 --- a/include/linux/namespace.h +++ b/include/linux/namespace.h @@ -9,11 +9,13 @@ struct namespace { atomic_t count; struct vfsmount * root; struct list_head list; - struct rw_semaphore sem; + wait_queue_head_t poll; + int event; }; extern int copy_namespace(int, struct task_struct *); extern void __put_namespace(struct namespace *namespace); +extern struct namespace *dup_namespace(struct task_struct *, struct fs_struct *); static inline void put_namespace(struct namespace *namespace) {