[PATCHv4,17/17] block/raw: copy BlockLimits on raw_open

Submitted by Peter Lieven on Oct. 8, 2013, 11:58 a.m.

Details

Message ID 1381233491-17019-18-git-send-email-pl@kamp.de
State New
Headers show

Commit Message

Peter Lieven Oct. 8, 2013, 11:58 a.m.
Signed-off-by: Peter Lieven <pl@kamp.de>
---
 block/raw_bsd.c |    1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

diff --git a/block/raw_bsd.c b/block/raw_bsd.c
index 8dc7bba..2c26b79 100644
--- a/block/raw_bsd.c
+++ b/block/raw_bsd.c
@@ -159,6 +159,7 @@  static int raw_open(BlockDriverState *bs, QDict *options, int flags,
                     Error **errp)
 {
     bs->sg = bs->file->sg;
+    bs->bl = bs->file->bl;
     return 0;
 }