drbd: fix READ_RETRY_REMOTE_CANCELED to not complete if device is suspended
authorLars Ellenberg <lars.ellenberg@linbit.com>
Wed, 11 Jan 2012 08:46:48 +0000 (09:46 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Wed, 9 May 2012 13:16:48 +0000 (15:16 +0200)
commit41c4a0035b36d400b79cbd945390a76e909711a7
treeecfc9c36addad208e1416aef84d7ffe9ff1a737f
parent6d49e101fd3d3dbd525564923a82fb8a66676420
drbd: fix READ_RETRY_REMOTE_CANCELED to not complete if device is suspended

READ_RETRY_REMOTE_CANCELED needs to be grouped with the other _CANCELED
cases, not with CONNECTION_LOST_WHILE_PENDING, as that would complete
(fail) the bio even if the device became suspended.

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