aboutsummaryrefslogtreecommitdiff
path: root/block/iscsi.c
diff options
context:
space:
mode:
authorPeter Lieven <pl@kamp.de>2014-09-30 09:09:11 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2014-09-30 13:30:51 +0200
commitbe4d57c1ea7f17b9cadb0150b330efd9b6026972 (patch)
treea33f866126446d10c955a1766c1965e359105bb1 /block/iscsi.c
parent49e7e31aa00a9fb466203de19120fe5c4459cac0 (diff)
util: introduce bitmap_try_new
regular bitmap_new simply aborts if the memory allocation fails. bitmap_try_new returns NULL on failure and allows for proper error handling. Signed-off-by: Peter Lieven <pl@kamp.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'block/iscsi.c')
0 files changed, 0 insertions, 0 deletions