[XFS] Use is_power_of_2 instead of open coding checks
authorVignesh Babu <vignesh.babu@wipro.com>
Thu, 28 Jun 2007 06:46:37 +0000 (16:46 +1000)
committerTim Shimmin <tes@chook.melbourne.sgi.com>
Sat, 14 Jul 2007 05:37:12 +0000 (15:37 +1000)
commit16a087d8e1af9b974125870dceb9e4a35249ad1d
tree259314c4fc03782a2792a93bc5fd25cce5277c56
parentbbaaf53808c778bda24f8245a440c5ceacc1a37d
[XFS] Use is_power_of_2 instead of open coding checks

SGI-PV: 966576
SGI-Modid: xfs-linux-melb:xfs-kern:28950a

Signed-off-by: Vignesh Babu <vignesh.babu@wipro.com>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/xfs_inode.c