drbd: Request lookup code cleanup (2)
authorAndreas Gruenbacher <agruen@linbit.com>
Thu, 20 Jan 2011 16:14:26 +0000 (17:14 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 25 Aug 2011 12:58:01 +0000 (14:58 +0200)
Unify the ar_id_to_req() and ack_id_to_req() functions: make both fail
if the consistency check fails.  Move the request lookup code now
duplicated in both functions into its own function.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>

No differences found