commit | 71872e9cc2af4dca1903ebc57daa15f08c795d86 | [log] [tgz] |
---|---|---|
author | Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> | Tue Nov 17 22:06:40 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Dec 21 15:40:18 2015 -0800 |
tree | bd8adf94bf6fa96760e6bc2fb040615cb06af2c2 | |
parent | d2d32738ded3825a6608e0d34e276c30c96e63b2 [diff] |
staging: lustre: hash.c: Replace IS_PO2 by is_power_of_2 Replaces IS_PO2 by is_power_of_2. It is more accurate to use is_power_of_2 since it returns 1 for numbers that are powers of 2 only whereas IS_PO2 returns 1 for 0 and numbers that are powers of 2. Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>