[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>
This commit is contained in:
committed by
Linus Torvalds
parent
0730ded5be
commit
2832e9366a
@@ -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:
|
||||
|
Reference in New Issue
Block a user