|
From: | Vladimir Sementsov-Ogievskiy |
Subject: | Re: [PATCH v6 06/14] block: avoid duplicating filename string in bdrv_create |
Date: | Fri, 25 Nov 2022 20:24:18 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 |
On 11/25/22 16:35, Emanuele Giuseppe Esposito wrote:
We know that the string will stay around until the function returns, and the parameter of drv->bdrv_co_create_opts is const char*, so it must not be modified either. Suggested-by: Kevin Wolf<kwolf@redhat.com> Signed-off-by: Emanuele Giuseppe Esposito<eesposit@redhat.com> Reviewed-by: Kevin Wolf<kwolf@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> -- Best regards, Vladimir
[Prev in Thread] | Current Thread | [Next in Thread] |