mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
[BLKTAP] No need for barrier when updating rsp_prod_pvt.
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
428e6e4900
commit
bcc2aed22a
1 file changed
-1
@@ -381,7 +381,6 @@ static inline int write_rsp_to_ring(struct td_state *s, blkif_response_t *rsp)
|
||||
|
||||
rsp_d = RING_GET_RESPONSE(&info->fe_ring, info->fe_ring.rsp_prod_pvt);
|
||||
memcpy(rsp_d, rsp, sizeof(blkif_response_t));
|
||||
wmb();
|
||||
info->fe_ring.rsp_prod_pvt++;
|
||||
|
||||
return 0;
|
||||
|
||||