[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 11/20] vhdx: Take graph lock for accessing a node's parent li
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH 11/20] vhdx: Take graph lock for accessing a node's parent list |
Date: |
Mon, 1 May 2023 14:58:20 -0400 |
On Tue, Apr 25, 2023 at 07:31:49PM +0200, Kevin Wolf wrote:
> This adds GRAPH_RDLOCK annotations to declare that functions accessing
> the parent list of a node need to hold a reader lock for the graph. As
> it happens, they already do.
>
> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
> ---
> block/vhdx.c | 9 +++++----
> 1 file changed, 5 insertions(+), 4 deletions(-)
The commit message is misleading. This commit does not take the graph
lock, it declares that the caller must already hold the graph lock.
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH 11/20] vhdx: Take graph lock for accessing a node's parent list,
Stefan Hajnoczi <=