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: NLi Qiang <liq3ea@gmail.com> Reviewed-by: NGreg Kurz <groug@kaod.org> Signed-off-by: NGreg Kurz <groug@kaod.org>
Showing
想要评论请 注册 或 登录