diff options
author | Juergen Gross <jgross@suse.com> | 2016-12-22 08:19:47 +0100 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2016-12-23 20:06:23 +0100 |
commit | 9a6161fe73bdd3ae4a1e18421b0b20cb7141f680 (patch) | |
tree | b992ad5f49bc787ca28e278227c55661885efb1b /drivers/block/pktcdvd.c | |
parent | 639b08810d6ad74ded2c5f6e233c4fcb9d147168 (diff) | |
download | linux-next-9a6161fe73bdd3ae4a1e18421b0b20cb7141f680.tar.gz |
xen: return xenstore command failures via response instead of rc
When the xenbus driver does some special handling for a Xenstore
command any error condition related to the command should be returned
via an error response instead of letting the related write operation
fail. Otherwise the user land handler might take wrong decisions
assuming the connection to Xenstore is broken.
While at it try to return the same error values xenstored would
return for those cases.
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers/block/pktcdvd.c')
0 files changed, 0 insertions, 0 deletions