From: Oleg Nesterov Subject: Re: [PATCH] pid: Extend/Fix pid_vnr Date: Thu, 6 Dec 2007 20:15:13 +0300 Message-ID: <20071206171513.GB10674@tv-sign.ru> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: "Eric W. Biederman" Cc: Linux Containers , Andrew Morton , Pavel Emelyanov List-Id: containers.vger.kernel.org On 12/05, Eric W. Biederman wrote: > > +pid_t pid_vnr(struct pid *pid) > +{ > + return pid_nr_ns(pid, current->nsproxy->pid_ns); > +} Excellent!!! This allows us to do many cleanups. I am sending the trivial patch just as example. Oleg.