From 8d0e1ce9db0041229a9e5bba084890345bbd94ae Mon Sep 17 00:00:00 2001 From: Pavel Emelyanov Date: Wed, 30 Apr 2008 00:54:31 -0700 Subject: [PATCH] --- yaml --- r: 95257 b: refs/heads/master c: caafa4324335aeb11bc233d5f87aca8cce30beba h: refs/heads/master i: 95255: 8c09cb3ae9a8d122adbafebe1f9e58b5665457e4 v: v3 --- [refs] | 2 +- trunk/include/linux/pid.h | 2 +- trunk/include/linux/pid_namespace.h | 2 +- trunk/kernel/pid_namespace.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 83efd0fbb31f..d635994f05e1 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ab883af53ec1b87add43b32a28d8347f17d5155b +refs/heads/master: caafa4324335aeb11bc233d5f87aca8cce30beba diff --git a/trunk/include/linux/pid.h b/trunk/include/linux/pid.h index 8d199033c0ca..c21c7e8124a7 100644 --- a/trunk/include/linux/pid.h +++ b/trunk/include/linux/pid.h @@ -60,7 +60,7 @@ struct pid /* lists of tasks that use this pid */ struct hlist_head tasks[PIDTYPE_MAX]; struct rcu_head rcu; - int level; + unsigned int level; struct upid numbers[1]; }; diff --git a/trunk/include/linux/pid_namespace.h b/trunk/include/linux/pid_namespace.h index fcd61fa2c833..caff5283d15c 100644 --- a/trunk/include/linux/pid_namespace.h +++ b/trunk/include/linux/pid_namespace.h @@ -20,7 +20,7 @@ struct pid_namespace { int last_pid; struct task_struct *child_reaper; struct kmem_cache *pid_cachep; - int level; + unsigned int level; struct pid_namespace *parent; #ifdef CONFIG_PROC_FS struct vfsmount *proc_mnt; diff --git a/trunk/kernel/pid_namespace.c b/trunk/kernel/pid_namespace.c index 5ca37fa50beb..98702b4b8851 100644 --- a/trunk/kernel/pid_namespace.c +++ b/trunk/kernel/pid_namespace.c @@ -66,7 +66,7 @@ static struct kmem_cache *create_pid_cachep(int nr_ids) return NULL; } -static struct pid_namespace *create_pid_namespace(int level) +static struct pid_namespace *create_pid_namespace(unsigned int level) { struct pid_namespace *ns; int i;