Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 43daac7a authored by Andrey Markovytch's avatar Andrey Markovytch Committed by Gerrit - the friendly Code Review server
Browse files

md: dm-req-crypt: fixed error propagation when ICE is used



When ICE is used errors during endio are not propagated properly
to upper layers. Fixed.

Change-Id: I5c428e4a02f7012f95e3a32486920e69b93ea3fc
Signed-off-by: default avatarAndrey Markovytch <andreym@codeaurora.org>
parent b79cfe22
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -873,6 +873,7 @@ static int req_crypt_endio(struct dm_target *ti, struct request *clone,
	/* If it is for ICE, free up req_io and return */
	if (encryption_mode == DM_REQ_CRYPT_ENCRYPTION_MODE_TRANSPARENT) {
		mempool_free(req_io, req_io_pool);
		err = error;
		goto submit_request;
	}