diff options
author | Jason Andryuk <jandryuk@gmail.com> | 2023-05-02 10:37:22 -0400 |
---|---|---|
committer | Christian Schoenebeck <qemu_oss@crudebyte.com> | 2023-05-16 16:21:54 +0200 |
commit | 92e667f6fd5806a6a705a2a43e572bd9ec6819da (patch) | |
tree | 8e5fb90f28af3433d81b0cc98973e9ff1028384b /scripts | |
parent | f91ce58cb2eba96192bdbd730e7a0952873f6c05 (diff) |
9pfs/xen: Fix segfault on shutdown
xen_9pfs_free can't use gnttabdev since it is already closed and NULL-ed
out when free is called. Do the teardown in _disconnect(). This
matches the setup done in _connect().
trace-events are also added for the XenDevOps functions.
Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Message-Id: <20230502143722.15613-1-jandryuk@gmail.com>
[C.S.: - Remove redundant return in xen_9pfs_free().
- Add comment to trace-events. ]
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions