[PATCH] proc: Factor out an instantiate method from every lookup method
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 2 Oct 2006 09:18:49 +0000 (02:18 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 2 Oct 2006 14:57:24 +0000 (07:57 -0700)
commit444ceed8d186631fdded5e3f24dc20b93d0d3fda
treec543ebbb4d1c8448770502be32c9166f2c3ef485
parent801199ce805a2412bbcd9bfe213092ec656013dd
[PATCH] proc: Factor out an instantiate method from every lookup method

To remove the hard coded proc inode numbers it is necessary to be able to
create the proc inodes during readdir.  The instantiate methods are the subset
of lookup that is needed to accomplish that.

This first step just splits the lookup methods into 2 functions.

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/base.c