From: Eric W. Biederman Date: Mon, 2 Oct 2006 09:17:07 +0000 (-0700) Subject: [PATCH] proc: give the root directory a task X-Git-Tag: v2.6.19-rc1~482 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6c7a1f34e92b0b561024ead9fa70623683025e4;p=pandora-kernel.git [PATCH] proc: give the root directory a task Helper functions in base.c like proc_pident_readdir and proc_pident_lookup assume the directories have an associated task, and cannot currently be used on the /proc root directory because it does not have such a task. This small changes allows for base.c to be simplified and later when multiple pid spaces are introduced it makes getting the needed context information trivial. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed