[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 1/2] block: Set backing_hd to NULL after deletin
From: |
Kevin Wolf |
Subject: |
[Qemu-devel] Re: [PATCH 1/2] block: Set backing_hd to NULL after deleting it |
Date: |
Mon, 19 Apr 2010 10:41:06 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4 |
Am 17.04.2010 11:49, schrieb Stefan Hajnoczi:
> It is safer to set backing_hd to NULL after deleting it so that any use
> after deletion is obvious during development. Happy segfaulting!
>
> This patch should be applied after Kevin Wolf's "vmdk: Convert to
> bdrv_open" so that vmdk does not segfault on close.
>
> Signed-off-by: Stefan Hajnoczi <address@hidden>
Series looks good, applied both patches to the block branch.
Kevin