]> git.proxmox.com Git - mirror_qemu.git/commit - block.c
block: Make bdrv_close() static
authorMax Reitz <mreitz@redhat.com>
Fri, 29 Jan 2016 15:36:10 +0000 (16:36 +0100)
committerMax Reitz <mreitz@redhat.com>
Tue, 2 Feb 2016 16:50:46 +0000 (17:50 +0100)
commit64dff52019367194699a772e3cc31941fd9752a8
tree52af45aa0b9ab9921880bff5dbf3150123b980ac
parent938abd4325951f94e87765b7daea61bf0bf71a5e
block: Make bdrv_close() static

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 <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
include/block/block.h