]> err.no Git - linux-2.6/commit
is_power_of_2 in fat
authorVignesh Babu BM <vignesh.babu@wipro.com>
Tue, 8 May 2007 07:24:27 +0000 (00:24 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:14:59 +0000 (11:14 -0700)
commite7d709c096487078652a1384d7a2d0e4459e18b6
treefff2b8ecac3e9611182e83a21e95130d1cba308a
parent4fa156ea846daae44d60b05ea066d0e28fd3b6c4
is_power_of_2 in fat

Replacing (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>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fat/inode.c