is_power_of_2: ufs/super.c
authorvignesh babu <vignesh.babu@wipro.com>
Mon, 16 Jul 2007 06:41:36 +0000 (23:41 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:50 +0000 (09:05 -0700)
commit9e8c4273ef4f631a896650bd2ade4c1b6487131b
tree61b11d755575011af7c4baae7046c32a7a8bfd3f
parente7c310c36e5fdf1b83a459e5db167bfbd86137db
is_power_of_2: ufs/super.c

Replace (n & (n-1)) with is_power_of_2

Signed-off-by: vignesh babu <vignesh.babu@wipro.com>
Acked-by: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ufs/super.c