drbd: Rename __inc_ap_bio_cond to may_inc_ap_bio
authorAndreas Gruenbacher <agruen@linbit.com>
Mon, 13 Dec 2010 17:03:38 +0000 (18:03 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Mar 2011 10:36:37 +0000 (11:36 +0100)
The old name is confusing: the function does not increment anything.
Also rename _inc_ap_bio_cond to inc_ap_bio_cond: there is no need for
an underscore.
Finally, make it clear that these functions return boolean values.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_main.c

Simple merge
Simple merge