]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ocfs2: use bitmap_weight()
authorAkinobu Mita <akinobu.mita@gmail.com>
Thu, 12 Apr 2012 22:51:53 +0000 (08:51 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 17 Apr 2012 03:47:15 +0000 (13:47 +1000)
commitcedecb987e046fb942aceacc33eeb55874873787
tree7af6343aef25ceccdba9e832bc53825fcea4db8f
parentfd092d8b6bf93bff25da0ce6b97f4b970649d8af
ocfs2: use bitmap_weight()

Use bitmap_weight() instead of reinventing the wheel.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/ocfs2/cluster/heartbeat.c