Commit 32f4d10e authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Revert "xen/blkback: Don't trust the handle from the frontend."

This reverts commit 01c681d4 upstream
(ef56ca64 in this tree), as it wasn't
supposed to have been applied to the stable tree.

Cc: Jan Beulich <jbeulich@suse.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d7930304
......@@ -881,6 +881,7 @@ static int dispatch_rw_block_io(struct xen_blkif *blkif,
goto fail_response;
}
preq.dev = req->u.rw.handle;
preq.sector_number = req->u.rw.sector_number;
preq.nr_sects = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment