Use ilog2() in fs/namespace.c
authorEric Dumazet <dada1@cosmosbay.com>
Wed, 6 Feb 2008 09:37:57 +0000 (01:37 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:09 +0000 (10:41 -0800)
commit13f14b4d8be225cbb11ff2be7c048590a9ccf87b
tree2a2421bc456e30aa0347c79b2ed8a966dcd2ce2b
parentb41ecbebd4091a15233abab2d771e65fb82cdb20
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>
fs/namespace.c