Re: [Qemu-devel] [PATCH v6 10/15] block: Make bdrv_close() static

2015-11-09 Thread Alberto Garcia
On Wed 04 Nov 2015 07:57:42 PM CET, 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. > > S

[Qemu-devel] [PATCH v6 10/15] block: Make bdrv_close() static

2015-11-04 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 Reviewed-by: Eric Blake --- block.c