[PATCH v3 12/28] ima: use -EIOCBQUEUED for backlog indication
Gilad Ben-Yossef
gilad at benyossef.com
Sun Jul 2 07:41:54 PDT 2017
Replace -EBUSY with -EIOCBQUEUED for backlog queueing indication
as part of new API.
Signed-off-by: Gilad Ben-Yossef <gilad at benyossef.com>
---
This patch should be squashed with the first patch in the series
when applied.
security/integrity/ima/ima_crypto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/security/integrity/ima/ima_crypto.c b/security/integrity/ima/ima_crypto.c
index 802d5d2..226dd88 100644
--- a/security/integrity/ima/ima_crypto.c
+++ b/security/integrity/ima/ima_crypto.c
@@ -212,7 +212,7 @@ static int ahash_wait(int err, struct ahash_completion *res)
case 0:
break;
case -EINPROGRESS:
- case -EBUSY:
+ case -EIOCBQUEUED:
wait_for_completion(&res->completion);
reinit_completion(&res->completion);
err = res->err;
--
2.1.4
More information about the linux-arm-kernel
mailing list