commit | 13f14b4d8be225cbb11ff2be7c048590a9ccf87b | [log] [tgz] |
---|---|---|
author | Eric Dumazet <dada1@cosmosbay.com> | Wed Feb 06 01:37:57 2008 -0800 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Wed Feb 06 10:41:09 2008 -0800 |
tree | 2a2421bc456e30aa0347c79b2ed8a966dcd2ce2b | |
parent | b41ecbebd4091a15233abab2d771e65fb82cdb20 [diff] |
Use ilog2() in fs/namespace.c We can use ilog2() in fs/namespace.c to compute hash_bits and hash_mask at compile time, not runtime. [akpm@linux-foundation.org: clean it all up] Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>