summaryrefslogtreecommitdiffstats
path: root/secure
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>2013-09-04 23:32:49 +0000
committergibbs <gibbs@FreeBSD.org>2013-09-04 23:32:49 +0000
commitceb5fa1b16f231bab58c8a447b3c122dd1c5bf6c (patch)
tree952a2f2b108ba232350fc5ddb639e0f22ad8eb17 /secure
parent23ba68da73b54f9fe365d3131a80b52961a4c767 (diff)
downloadFreeBSD-src-ceb5fa1b16f231bab58c8a447b3c122dd1c5bf6c.zip
FreeBSD-src-ceb5fa1b16f231bab58c8a447b3c122dd1c5bf6c.tar.gz
Correct blkback handling of the BLKIF_OP_FLUSH_DISKCACHE opcode.
Properly round-trip the "operation code" for client requests. sys/dev/xen/blkback/blkback.c: In xbb_dispatch_dev() when processing a flush request, correctly set bio->bio_caller1 to the request list (not bare request) for the operation, as is expected by the completion handler xbb_bio_done(). In xbb_get_resources(), initialize "operation" in the driver's internal request object from the client's "ring request", so it is correct when used to populate the reply when this operation completes. Submitted by: Roger Pau Monné Sponsored by: Citrix Systems R&D Reviewed by: gibbs
Diffstat (limited to 'secure')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud