Re: [patch] arca-vm-2.2.5

David Miller
1999-04-06T22:53:45Z

It should be 'inode >> 8' (which is done by the log2
solution). Unless i'm misunderstanding something.

Consider that:

(((unsigned long) inode) >> (sizeof(struct inode) & ~ (sizeof(struct inode) - 1)))

sort of approximates this and avoids the funny looking log2 macro. :-)

Later,
David S. Miller
davem@redhat.com