Files
linux/drivers/xen
Dongli Zhang 428292ec7a xenbus: req->err should be updated before req->state
[ Upstream commit 8130b9d5b5 ]

This patch adds the barrier to guarantee that req->err is always updated
before req->state.

Otherwise, read_reply() would not return ERR_PTR(req->err) but
req->body, when process_writes()->xb_write() is failed.

Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
Link: https://lore.kernel.org/r/20200303221423.21962-2-dongli.zhang@oracle.com
Reviewed-by: Julien Grall <jgrall@amazon.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-03-25 08:26:58 +01:00
..
2015-12-21 14:40:55 +00:00
2019-11-24 11:55:31 +01:00
2019-07-17 08:09:58 +02:00
2019-09-12 15:02:55 -04:00
2015-12-21 14:40:55 +00:00
2019-07-31 08:14:12 +02:00
2018-02-01 10:07:32 -05:00
2019-07-31 08:14:12 +02:00