Re: [PATCH v2] virtiofs: fix memory leak in virtio_fs_probe()

2021-04-12 Thread Miklos Szeredi
On Wed, Mar 17, 2021 at 9:43 AM Luis Henriques wrote: > > When accidentally passing twice the same tag to qemu, kmemleak ended up > reporting a memory leak in virtiofs. Also, looking at the log I saw the > following error (that's when I realised the duplicated tag): > > virtiofs: probe of virti

Re: [PATCH v2] virtiofs: fix memory leak in virtio_fs_probe()

2021-03-17 Thread Vivek Goyal
On Wed, Mar 17, 2021 at 08:44:43AM +, Luis Henriques wrote: > When accidentally passing twice the same tag to qemu, kmemleak ended up > reporting a memory leak in virtiofs. Also, looking at the log I saw the > following error (that's when I realised the duplicated tag): > > virtiofs: probe

Re: [PATCH v2] virtiofs: fix memory leak in virtio_fs_probe()

2021-03-17 Thread Stefan Hajnoczi
On Wed, Mar 17, 2021 at 08:44:43AM +, Luis Henriques wrote: > When accidentally passing twice the same tag to qemu, kmemleak ended up > reporting a memory leak in virtiofs. Also, looking at the log I saw the > following error (that's when I realised the duplicated tag): > > virtiofs: probe

[PATCH v2] virtiofs: fix memory leak in virtio_fs_probe()

2021-03-17 Thread Luis Henriques
When accidentally passing twice the same tag to qemu, kmemleak ended up reporting a memory leak in virtiofs. Also, looking at the log I saw the following error (that's when I realised the duplicated tag): virtiofs: probe of virtio5 failed with error -17 Here's the kmemleak log for reference: