]> err.no Git - linux-2.6/commit
[PATCH] proc: Replace proc_inode.type with proc_inode.fd
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 26 Jun 2006 07:25:44 +0000 (00:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:24 +0000 (09:58 -0700)
commitaed7a6c476d90660ac5af860158407ae9fe61c68
treeb8b92412f457598a2348de0eb304b9b4ec204157
parent87bfbf679ffb1e95dd9ada694f66aafc4bfa5959
[PATCH] proc: Replace proc_inode.type with proc_inode.fd

The sole renaming use of proc_inode.type is to discover the file descriptor
number, so just store the file descriptor number and don't wory about
processing this field.  This removes any /proc limits on the maximum number of
file descriptors, and clears the path to make the hard coded /proc inode
numbers go away.

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
fs/proc/inode.c
fs/proc/internal.h
include/linux/proc_fs.h