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

Skip to content
Commit 6ec5c2ba authored by Dinesh K Garg's avatar Dinesh K Garg Committed by Gerrit - the friendly Code Review server
Browse files

md: dm-req-crypt Recalculate nr_phys_segments



Recalculate nr_phys_segments after pages are allocated
for write requests. Move _req_crypt_io_pool allocation
and de-allocation to ctr and dtr instead of driver init
and exit.

Change-Id: I8576dce1f7c9bc39dcc975762562fb84a349bba7
Acked-by: default avatarBaranidharan Muthukumaran <bmuthuku@qti.qualcomm.com>
Signed-off-by: default avatarDinesh K Garg <dineshg@codeaurora.org>
parent c7a2cd38
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment