]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commit1b881ef77537f1077482f9946a6a99b4e2dd54b2
tree70edbe85f61fe74f1038b58997c3750af354b898
parent24dccabb390412d04435e11cfb535df51def7b2d
drbd: Rename __inc_ap_bio_cond to may_inc_ap_bio

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