]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ocfs2: use bitmap_weight()
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 25 Apr 2012 01:03:24 +0000 (11:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:15 +0000 (15:17 +1000)
commit6aeaf93877a634aa29cf7ce193991e4751656fb5
treede6cda5b927829cdba9f672a059e0fb7f944e80c
parent30e36ad69f4b65a06f3e4c6fba99c1a4e101e1e9
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