diff options
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2010-04-17 10:49:06 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-05-03 10:07:31 +0200 |
commit | 557df6aca2e389ef631b283ca1522b1fdf121eff (patch) | |
tree | 72bc4c6bd08e24bd7ee1c705260f4a227fa9be4c /host-utils.h | |
parent | 6511ef77375100ecf9134f85f08cef31fd196cdf (diff) |
block: Set backing_hd to NULL after deleting it
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 <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'host-utils.h')
0 files changed, 0 insertions, 0 deletions