drbd: short-circuit in maybe_pull_ahead
authorLars Ellenberg <lars.ellenberg@linbit.com>
Thu, 20 Mar 2014 13:04:35 +0000 (14:04 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Jul 2014 16:35:02 +0000 (18:35 +0200)
commit0c066bc39e56a60785b32d6e43aa6659fb3793ab
tree770eb7ceaccce2c4e8c4689ef690b10641e28217
parent08d0dabf48ccf55e310b8ae9381858b477cabe2e
drbd: short-circuit in maybe_pull_ahead

If we already "pulled ahead", we can short-circuit,
and avoid logging the same messages over and over again.

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