diff options
author | Mike Snitzer <snitzer@redhat.com> | 2015-04-09 16:53:24 -0400 |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2015-06-24 11:40:31 +0800 |
commit | 7e1cece6187395ef8de9b9447471b28fec2c3eda (patch) | |
tree | 402a8a4208777f16eedd9abda1b58c9fe3fb11e5 /drivers/mmc/card/block.c | |
parent | 0e0183b9f4724f5697a1e6aefaf7b898c9b8c863 (diff) |
dm crypt: leverage immutable biovecs when decrypting on read
Commit 003b5c571 ("block: Convert drivers to immutable biovecs")
stopped short of changing dm-crypt to leverage the fact that the biovec
array of a bio will no longer be modified.
Switch to using bio_clone_fast() when cloning bios for decryption after
read.
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
(cherry picked from commit 5977907937afa2b5584a874d44ba6c0f56aeaa9c)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Diffstat (limited to 'drivers/mmc/card/block.c')
0 files changed, 0 insertions, 0 deletions