]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d6dc6185b074ea55320f58800c9aaf8c6002eb3
tree65a15d5f47a8a5c4ddad16d10971f671277b12e8
parent50caa1c616056aa19eb0cc561a1e513852813a1f
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