Re: [Qemu-block] [PATCH for-2.4 4/5] block: Reorder cleanups in bdrv_close()

2015-07-10 Thread Max Reitz
On 08.07.2015 21:36, Kevin Wolf wrote: Block drivers may still want to access their child nodes in their .bdrv_close handler. If they unref and/or detach a child by themselves, this should not result in a double free. There is additional code for backing files, which are just a special case of c

[Qemu-block] [PATCH for-2.4 4/5] block: Reorder cleanups in bdrv_close()

2015-07-08 Thread Kevin Wolf
Block drivers may still want to access their child nodes in their .bdrv_close handler. If they unref and/or detach a child by themselves, this should not result in a double free. There is additional code for backing files, which are just a special case of child nodes. The same applies for them. S