diff options
author | Gilad Ben-Yossef <[email protected]> | 2017-10-18 08:00:45 +0100 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2017-11-03 22:11:20 +0800 |
commit | 12f1ffc40a81fe825eedb02b63dc3e1bd6f7e689 (patch) | |
tree | 03a5ad94137a344221d9df49a1521302df40b427 /lib/mpi/mpiutil.c | |
parent | d0082e1a7c8dfee55b06e442f137097230a1102a (diff) |
dm: move dm-verity to generic async completion
dm-verity is starting async. crypto ops and waiting for them to complete.
Move it over to generic code doing the same.
This also avoids a future potential data coruption bug created
by the use of wait_for_completion_interruptible() without dealing
correctly with an interrupt aborting the wait prior to the
async op finishing, should this code ever move to a context
where signals are not masked.
Signed-off-by: Gilad Ben-Yossef <[email protected]>
CC: Mikulas Patocka <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions