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

Commit e7706d9c authored by Amir Samuelov's avatar Amir Samuelov
Browse files

md: dm-req-crypt: add message when mapping completed



Add info message when mapping a block-device to
the dm-req-crypt device-mapper target.
This is the first step before this driver can be used for
encryption of a block device.
It is called once per power-up when disk-encryption is enabled.

Change-Id: I51866b95cbe77d1a3d39fcd5d5d5297c78950fa2
Signed-off-by: default avatarAmir Samuelov <amirs@codeaurora.org>
parent 3511ae2a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1013,6 +1013,10 @@ static int req_crypt_ctr(struct dm_target *ti, unsigned int argc, char **argv)
		goto ctr_exit;
	}
	err = 0;

	DMINFO("%s: Mapping block_device %s to dm-req-crypt ok!\n",
	       __func__, argv[3]);

ctr_exit:
	if (err != 0) {
		if (req_crypt_queue) {