]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ocfs2: use bitmap_weight()
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 5 Nov 2013 05:55:03 +0000 (16:55 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:55:03 +0000 (16:55 +1100)
commit1bfb7eaaff3ffd434d716f688bdd7a4af9809ab3
treecdf42e340700c1a38dc584d31eb70ede120c5ba9
parent1bdfa2a849b7c29526bd676b747fa2d706fddd49
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: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/ocfs2/cluster/heartbeat.c