diff options
author | Jan Beulich <jbeulich@suse.com> | 2021-02-23 17:26:21 +0100 |
---|---|---|
committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2021-02-23 12:35:43 -0600 |
commit | 53f131c284e83c29c227c0938926a82b2ed4d7ba (patch) | |
tree | ad3d63a366e03c78ad560c0b6a4e3d3b3f92bd6e /arch/x86 | |
parent | 43135df0d7f0a66c75143a1e95ed70a2005ca329 (diff) | |
download | lwn-53f131c284e83c29c227c0938926a82b2ed4d7ba.tar.gz lwn-53f131c284e83c29c227c0938926a82b2ed4d7ba.zip |
xen-front-pgdir-shbuf: don't record wrong grant handle upon error
In order for subsequent unmapping to not mistakenly unmap handle 0,
record a perceived always-invalid one instead.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Link: https://lore.kernel.org/r/82414b0f-1b63-5509-7c1d-5bcc8239a3de@suse.com
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions