projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13855c6
)
blockdev: Use blk_remove_bs() in do_drive_del()
author
Max Reitz
<mreitz@redhat.com>
Fri, 29 Jan 2016 15:36:09 +0000
(16:36 +0100)
committer
Max Reitz
<mreitz@redhat.com>
Tue, 2 Feb 2016 16:50:46 +0000
(17:50 +0100)
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev.c
patch
|
blob
|
history
diff --git
a/blockdev.c
b/blockdev.c
index 1044a6acade6352e86d5281a2eab6c5f212241ce..09d4621cd292b85602dd2798e8f499661fc984ca 100644
(file)
--- a/
blockdev.c
+++ b/
blockdev.c
@@
-2792,7
+2792,7
@@
void hmp_drive_del(Monitor *mon, const QDict *qdict)
return;
}
- b
drv_close(bs
);
+ b
lk_remove_bs(blk
);
}
/* if we have a device attached to this BlockDriverState