Searched hist:"63 eaaae08cb7738311f73d1a7e6e6a68ddf60688" (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/include/block/ |
H A D | block.h | diff 63eaaae08cb7738311f73d1a7e6e6a68ddf60688 Fri Mar 18 04:46:57 CDT 2016 Kevin Wolf <kwolf@redhat.com> block: Remove bdrv_make_anon()
The call in hmp_drive_del() is dead code because blk_remove_bs() is called a few lines above. The only other remaining user is bdrv_delete(), which only abuses bdrv_make_anon() to remove it from the named nodes list. This path inlines the list entry removal into bdrv_delete() and removes bdrv_make_anon().
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
|
/openbmc/qemu/ |
H A D | blockdev.c | diff 63eaaae08cb7738311f73d1a7e6e6a68ddf60688 Fri Mar 18 04:46:57 CDT 2016 Kevin Wolf <kwolf@redhat.com> block: Remove bdrv_make_anon()
The call in hmp_drive_del() is dead code because blk_remove_bs() is called a few lines above. The only other remaining user is bdrv_delete(), which only abuses bdrv_make_anon() to remove it from the named nodes list. This path inlines the list entry removal into bdrv_delete() and removes bdrv_make_anon().
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
|
H A D | block.c | diff 63eaaae08cb7738311f73d1a7e6e6a68ddf60688 Fri Mar 18 04:46:57 CDT 2016 Kevin Wolf <kwolf@redhat.com> block: Remove bdrv_make_anon()
The call in hmp_drive_del() is dead code because blk_remove_bs() is called a few lines above. The only other remaining user is bdrv_delete(), which only abuses bdrv_make_anon() to remove it from the named nodes list. This path inlines the list entry removal into bdrv_delete() and removes bdrv_make_anon().
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
|