drbd: use bitmap_weight() helper, don't open code
authorLars Ellenberg <lars.ellenberg@linbit.com>
Fri, 20 Mar 2015 15:15:24 +0000 (16:15 +0100)
committerJens Axboe <axboe@fb.com>
Wed, 25 Nov 2015 16:22:02 +0000 (09:22 -0700)
commit5fb3bc4ddcdda8d2a6b2185075d140b9009f99b5
tree01a12b8cc25d87f78bce162e1b3636ace94aa69b
parent2630628b2dbc3fc320aafaf84836119e4e3d62f1
drbd: use bitmap_weight() helper, don't open code

Suggested by Akinobu Mita <akinobu.mita@gmail.com>

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/drbd/drbd_bitmap.c