[PATCH] pid: Extend/Fix pid_vnr

Oleg Nesterov oleg at tv-sign.ru
Thu Dec 6 09:15:13 PST 2007


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.



More information about the Containers mailing list