VAST: Re: 2.4.X inode cache bug

2001-01-31 Thread jukka . santala
Quim K Holland <[EMAIL PROTECTED]> wrote: > Then maybe the attached patch is what you want? This also replaces > `+' on the next line with `^' to avoid slanted distribution. Thanks. The use of + in a hash-formula is usually all right, though. It's XOR with carry propagation; when there's some pa

2.4.X inode cache bug

2001-01-30 Thread jukka . santala
Excuse me for the lack of patch in this mail, but I'm currently suffering some connection-troubles... Please Cc replies to me. In 2.4.x, linux/fs/inode.c has a hash() function with a small slip-up. The inode hash-value is initialized with "unsigned long tmp = i_ino | ((unsigned long) sb / L1_CACH