On Mon, 6 November 2006 13:47:23 -0500, Jeff Layton wrote:On Mon, 2006-11-06 at 11:22 -0700, Matthew Wilcox wrote:On Mon, Nov 06, 2006 at 01:12:05PM -0500, Jeff Layton wrote:Here's a new (untested) patch that replaces the ia32 specificThe attached patch remedies this by making the last_inode counter be an... and this only happens on ia64/x86_64 kernels, not sparc64, ppc64,
unsigned int on kernels that have ia32 compatability mode enabled.
s390x, parisc64 or mips64?
compatability mode defines with CONFIG_COMPAT, as suggested by Matthew.
While you're at it, how about making last_ino per-sb instead of
system-wide? ino collisions after a wrap are just as bad as inos
beyond 32bit. And this should be a fairly simple method to reduce the
risk.
Also, do you have a testcase that can actually force the wrap?