diff options
author | Li Qiang <liq3ea@gmail.com> | 2016-11-23 13:53:34 +0100 |
---|---|---|
committer | Greg Kurz <groug@kaod.org> | 2016-11-23 13:53:34 +0100 |
commit | 971f406b77a6eb84e0ad27dcc416b663765aee30 (patch) | |
tree | d55a829a9895302a62aa3a15eb89197cba580b5a /hw/9pfs/9p-proxy.c | |
parent | 702dbcc274e2ca43be20ba64c758c0ca57dab91d (diff) |
9pfs: add cleanup operation for handle backend driver
In the init operation of handle backend dirver, it allocates a
handle_data struct and opens a mount file. We should free these
resources when the 9pfs device is unrealized. This is what this
patch does.
Signed-off-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'hw/9pfs/9p-proxy.c')
0 files changed, 0 insertions, 0 deletions