Andrew Morton a écrit : > Eric Dumazet wrote: > >>Considering : >> >>[root@dada1 linux-2.6.13-rc6]# find .|xargs grep f_maxcount >>./fs/file_table.c: f->f_maxcount = INT_MAX; >>./fs/read_write.c: if (unlikely(count > file->f_maxcount)) >>./include/linux/fs.h: size_t f_maxcount; >> >> >>I was wondering if f_maxcount has a real use these days... > > > No, I guess we can just stick a hard-wired INT_MAX in there. > > OK here is a patch doing the hard wiring then :) * struct file cleanup : f_maxcount has an unique value (INT_MAX). Just use the hard-wired value. Signed-off-by: Eric Dumazet