dm: verity: use -EIOCBQUEUED for backlog indication

Started by Gilad Ben-Yossef on Jul 2, 2017

Subsystems (2)

Maintainers (5)

Show 1 more
DORMANTno replies SUPERSEDED

Status: Superseded by v10 (posted 2017-10-18). [go to v10]

Revision v3 (8 revisions archived).

Revisions (8)
  1. v3 current re-posted current re-posted go to this post
  2. v4 [diff against previous] re-posted go to this post re-posted go to this post
  3. v5 [diff against previous] re-posted go to this post re-posted go to this post
  4. v6 [diff against previous] re-posted go to this post re-posted go to this post
  5. v7 [diff against previous] re-posted go to this post re-posted go to this post
  6. v8 [diff against previous] re-posted go to this post re-posted go to this post re-posted go to this post
  7. v9 [diff against previous]
  8. v10 [diff against previous]

open the first message on its own page

Message details and related content
Replace -EBUSY with -EIOCBQUEUED for backlog queueing indication
as part of new API.

Signed-off-by: Gilad Ben-Yossef <gilad@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
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help