]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ocfs2: use bitmap_weight()
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 20 Mar 2012 23:48:17 +0000 (10:48 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 3 Apr 2012 03:07:58 +0000 (13:07 +1000)
commita2efbcfc98328204257964af6821b59675db0a28
treeb10e5019fbb3de68b9d241e663ecea0aee6db91e
parent9a82b8805573ece1f4c00fffd2fff073e241e4f2
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