ocfs2: use bitmap_weight()
authorAkinobu Mita <[email protected]>
Tue, 12 Nov 2013 23:06:58 +0000 (15:06 -0800)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Signed-off-by: Joel Becker <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/ocfs2/cluster/heartbeat.c