• K
    block: Add errp to bdrv_new() · 98522f63
    Kevin Wolf 提交于
    This patch adds an errp parameter to bdrv_new() and updates all its
    callers. The next patches will make use of this in order to check for
    duplicate IDs. Most of the callers know that their ID is fine, so they
    can simply assert that there is no error.
    
    Behaviour doesn't change with this patch yet as bdrv_new() doesn't
    actually assign errors to errp.
    Signed-off-by: NKevin Wolf <kwolf@redhat.com>
    Reviewed-by: NEric Blake <eblake@redhat.com>
    98522f63
iscsi.c 42.8 KB