[PATCH v3 09/28] dm: verity: use -EIOCBQUEUED for backlog indication

From: Gilad Ben-Yossef
Date: Sun Jul 02 2017 - 10:44:39 EST


Replace -EBUSY with -EIOCBQUEUED for backlog queueing indication
as part of new API.

Signed-off-by: Gilad Ben-Yossef <gilad@xxxxxxxxxxxxx>
---

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