Displaying 2 results from an estimated 2 matches for "02c65414".
2023 Jul 16
1
[libnbd PATCH] api: Fix block status assertion under set_strict bypass
...("api: Fix nbd_can_meta_context if NBD_OPT_SET_META_CONTEXT fails", v1.15.3)
Signed-off-by: Eric Blake <eblake at redhat.com>
---
generator/states-reply-chunk.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/generator/states-reply-chunk.c b/generator/states-reply-chunk.c
index 02c65414..26b8a6b0 100644
--- a/generator/states-reply-chunk.c
+++ b/generator/states-reply-chunk.c
@@ -101,6 +101,7 @@ REPLY.CHUNK_REPLY.START:
case NBD_REPLY_TYPE_BLOCK_STATUS:
if (cmd->type != NBD_CMD_BLOCK_STATUS ||
+ !h->meta_valid || h->meta_contexts.len == 0 ||
leng...
2023 Jul 16
2
[libnbd PATCH] api: Fix block status assertion under set_strict bypass
...t if NBD_OPT_SET_META_CONTEXT fails", v1.15.3)
> Signed-off-by: Eric Blake <eblake at redhat.com>
> ---
> generator/states-reply-chunk.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/generator/states-reply-chunk.c b/generator/states-reply-chunk.c
> index 02c65414..26b8a6b0 100644
> --- a/generator/states-reply-chunk.c
> +++ b/generator/states-reply-chunk.c
> @@ -101,6 +101,7 @@ REPLY.CHUNK_REPLY.START:
>
> case NBD_REPLY_TYPE_BLOCK_STATUS:
> if (cmd->type != NBD_CMD_BLOCK_STATUS ||
> + !h->meta_valid || h->meta...