Re: [Qemu-devel] [PATCH 08/21] block: Make bdrv_close() static

2015-01-29 Thread Eric Blake
On 01/26/2015 12:27 PM, Max Reitz wrote: > There are no users of bdrv_close() left, except for one of bdrv_open()'s > failure paths, bdrv_close_all() and bdrv_delete(), and that is good. > Make bdrv_close() static so nobody makes the mistake of directly using > bdrv_close() again. > > Signed-off-b

[Qemu-devel] [PATCH 08/21] block: Make bdrv_close() static

2015-01-26 Thread Max Reitz
There are no users of bdrv_close() left, except for one of bdrv_open()'s failure paths, bdrv_close_all() and bdrv_delete(), and that is good. Make bdrv_close() static so nobody makes the mistake of directly using bdrv_close() again. Signed-off-by: Max Reitz --- block.c | 4 +++- in