is_power_of_2(): jbd
authorvignesh babu <vignesh.babu@wipro.com>
Mon, 16 Jul 2007 06:41:17 +0000 (23:41 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:48 +0000 (09:05 -0700)
commitf482394ccbca7234d29cc146d4a2b94f976ce5a1
tree65a15d5f47a8a5c4ddad16d10971f671277b12e8
parent3fc74269c8910573a0e9a7bc303752194ce5cae0
is_power_of_2(): jbd

Replace (n & (n-1)) in the context of power of 2 checks with
is_power_of_2().

Signed-off-by: vignesh babu <vignesh.babu@wipro.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/jbd/revoke.c
fs/jbd2/revoke.c