]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] proc: give the root directory a task
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 2 Oct 2006 09:17:07 +0000 (02:17 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 2 Oct 2006 14:57:13 +0000 (07:57 -0700)
commitf6c7a1f34e92b0b561024ead9fa70623683025e4
tree6906523c635c28ccf7b1d4f726e8ac67cf22d362
parent20cdc894c45d2e4ab0c69e95a56b7c5ed36ae0dd
[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 <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/proc/root.c