Re: [patch 116/176] fs: allow for more than 2^31 files

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Wednesday, October 27, 2010 - 5:46 am

Le mercredi 27 octobre 2010 à 13:59 +0200, Christoph Hellwig a écrit :

Good point

To be precise, sysctl() truncates the value to low order 32bit value,
because it internally uses simple_strtoul(), then a put_user()

An old binary using sysctl() to fetch FS_MAXFILE could break on SGI
machines. I am not sure we should remove sysctl FS_MAXFILE because of
this rare case.



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch 116/176] fs: allow for more than 2^31 files, Christoph Hellwig, (Wed Oct 27, 4:59 am)
Re: [patch 116/176] fs: allow for more than 2^31 files, Eric Dumazet, (Wed Oct 27, 5:46 am)