]> Git Repo - linux.git/commit
ext2/4: use is_power_of_2()
authorvignesh babu <[email protected]>
Wed, 17 Oct 2007 06:27:14 +0000 (23:27 -0700)
committerLinus Torvalds <[email protected]>
Wed, 17 Oct 2007 15:42:53 +0000 (08:42 -0700)
commitd8ea6cf89991000ae458e34e36379814cf202555
tree267324741b51696f4e5642ff4f53746cee78e4cc
parent3befe7ceb8d39a56a9ea55dd2da8b4bd9ddcdd36
ext2/4: use is_power_of_2()

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

Signed-off-by: vignesh babu <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/ext2/super.c
fs/ext4/super.c
This page took 0.052077 seconds and 4 git commands to generate.