summaryrefslogtreecommitdiffstats
path: root/fs/locks.c
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2017-10-18 08:00:52 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2017-11-03 22:11:23 +0800
commitaba973c69e3658e3190d8983eed7dddd3c44dd1e (patch)
treeadef831ec7aa34c422be804f172d74fca107655b /fs/locks.c
parent591b95af3da027412be17ecbcb4dbd33990b557c (diff)
downloadlinux-aba973c69e3658e3190d8983eed7dddd3c44dd1e.tar.bz2
crypto: doc - adapt api sample to use async. op wait
The code sample is waiting for an async. crypto op completion. Adapt sample to use the new generic infrastructure to do the same. This also fixes a possible 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. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'fs/locks.c')
0 files changed, 0 insertions, 0 deletions