]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ocfs2: use bitmap_weight()
authorAkinobu Mita <akinobu.mita@gmail.com>
Thu, 3 May 2012 05:43:25 +0000 (15:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:18 +0000 (15:46 +1000)
commit72f9348f94d141a665ffdbcb1b0c6dfe571b6854
tree1198bb363132d96685df5f4edee2a8648cff5231
parent85462e6f8c1390cb96b29fafb972cd1b3bb6eefa
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