diff options
author | vignesh babu <vignesh.babu@wipro.com> | 2007-10-19 23:38:44 +0200 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2007-10-20 03:01:06 +0200 |
commit | 6f3c3f0afa50782dc1742c968646c491657d255a (patch) | |
tree | cb1f69504094cec60564be51c405bba5eb66c322 /drivers/md/dm-emc.c | |
parent | dm: fix thaw_bdev (diff) | |
download | linux-6f3c3f0afa50782dc1742c968646c491657d255a.tar.xz linux-6f3c3f0afa50782dc1742c968646c491657d255a.zip |
dm: use is_power_of_2
Replacing n & (n - 1) for power of 2 check by is_power_of_2(n)
Signed-off-by: vignesh babu <vignesh.babu@wipro.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-emc.c')
0 files changed, 0 insertions, 0 deletions