Skip to contentSkip to conversation

fs: allow for more than 2^31 files

PATCH Christoph Hellwig 2 participants 2 messages Oct 27, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

This patch breaks the binary sysctl ABI. It probably doesn't matter as no one actually used it, but it might be better idea to just remove this node from the binary sysctl tree.

#2 lore raw
Quoted 4 lines · Christoph Hellwig

This patch breaks the binary sysctl ABI. It probably doesn't matter as no one actually used it, but it might be better idea to just remove this node from the binary sysctl tree.

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.