ocfs2: use bitmap_weight()
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 12 Nov 2013 23:06:58 +0000 (15:06 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:01 +0000 (12:09 +0900)
commita8f70de37bbb991033208edff7758d997d68db37
treec11748600e76cc237a389370b1791f7f5415d2d4
parent910bffe0861c956096c31ad7e887cc23169955ed
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/cluster/heartbeat.c