diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2006-06-26 00:25:44 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 09:58:24 -0700 |
commit | aed7a6c476d90660ac5af860158407ae9fe61c68 (patch) | |
tree | b8b92412f457598a2348de0eb304b9b4ec204157 /fs/proc/inode.c | |
parent | 87bfbf679ffb1e95dd9ada694f66aafc4bfa5959 (diff) | |
download | linux-3.10-aed7a6c476d90660ac5af860158407ae9fe61c68.tar.gz linux-3.10-aed7a6c476d90660ac5af860158407ae9fe61c68.tar.bz2 linux-3.10-aed7a6c476d90660ac5af860158407ae9fe61c68.zip |
[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>
Diffstat (limited to 'fs/proc/inode.c')
-rw-r--r-- | fs/proc/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/inode.c b/fs/proc/inode.c index 722b9c46311..fbc94df138a 100644 --- a/fs/proc/inode.c +++ b/fs/proc/inode.c @@ -95,7 +95,7 @@ static struct inode *proc_alloc_inode(struct super_block *sb) if (!ei) return NULL; ei->task = NULL; - ei->type = 0; + ei->fd = 0; ei->op.proc_get_link = NULL; ei->pde = NULL; inode = &ei->vfs_inode; |