[PATCH v3 09/28] dm: verity: use -EIOCBQUEUED for backlog indication
Gilad Ben-Yossef
gilad at benyossef.com
Sun Jul 2 14:41:51 UTC 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.
drivers/md/dm-verity-target.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/md/dm-verity-target.c b/drivers/md/dm-verity-target.c
index b46705e..4fe7d18 100644
--- a/drivers/md/dm-verity-target.c
+++ b/drivers/md/dm-verity-target.c
@@ -116,7 +116,7 @@ static inline int verity_complete_op(struct verity_result *res, int ret)
break;
case -EINPROGRESS:
- case -EBUSY:
+ case -EIOCBQUEUED:
ret = wait_for_completion_interruptible(&res->completion);
if (!ret)
ret = res->err;
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the Linux-security-module-archive
mailing list