summaryrefslogtreecommitdiffstats
path: root/fs/file_table.c
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2005-09-07 00:17:38 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-08 01:57:32 +0200
commit2832e9366a1fcd6f76957a42157be041240f994e (patch)
treed2dd2a46f3ba7476b7db31806b5d98c4ed6a46dd /fs/file_table.c
parent[PATCH] remove a redundant variable in sys_prctl() (diff)
downloadlinux-2832e9366a1fcd6f76957a42157be041240f994e.tar.xz
linux-2832e9366a1fcd6f76957a42157be041240f994e.zip
[PATCH] remove file.f_maxcount
struct file cleanup: f_maxcount has an unique value (INT_MAX). Just use the hard-wired value. Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/file_table.c')
-rw-r--r--fs/file_table.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/file_table.c b/fs/file_table.c
index 1d3de78e6bc9..43e9e1737de2 100644
--- a/fs/file_table.c
+++ b/fs/file_table.c
@@ -89,7 +89,6 @@ struct file *get_empty_filp(void)
rwlock_init(&f->f_owner.lock);
/* f->f_version: 0 */
INIT_LIST_HEAD(&f->f_list);
- f->f_maxcount = INT_MAX;
return f;
over: