commit | 20cdc894c45d2e4ab0c69e95a56b7c5ed36ae0dd | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Mon Oct 02 02:17:07 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Mon Oct 02 07:57:13 2006 -0700 |
tree | 889b369ebf1a54a96e8a93c2d8c49921ed2fc4b4 | |
parent | 28a6d67179da6964d1640d379c5e5d4f46dd0042 [diff] |
[PATCH] proc: modify proc_pident_lookup to be completely table driven Currently proc_pident_lookup gets the names and types from a table and then has a huge switch statement to get the inode and file operations it needs. That is silly and is becoming increasingly hard to maintain so I just put all of the information in the table. 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>