Skip to content

virtiofsd: leak fixes

Liu Bo virtio-fs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 3 repliesIn review
  2. v15 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5virtiofsd: cleanup allocated resource in secontrib/virtiofsd/fuse_lowlevel.c contrib/virtiofsd/fuse_virtio.c contrib/virtiofsd/fuse_virtio.h+15 -11 reply
2/5virtiofsd: fix memory leak on lo.sourcecontrib/virtiofsd/passthrough_ll.c+3 -21 reply
3/5virtiofsd: fix memory leak on lo.inodes hashmapcontrib/virtiofsd/passthrough_ll.c+2 -00 replies
4/5virtiofsd: fix error handling in main()contrib/virtiofsd/passthrough_ll.c+3 -20 replies
5/5virtiofsd: add helper for lo_data cleanupcontrib/virtiofsd/passthrough_ll.c+18 -140 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchDr. David Alan Gilbert
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Virtio-fs] [PATCH v2 0/5] virtiofsd: leak fixes

Patch 1-4 fixes memory/fd/hashmap leakage.
Patch 5 is a cleanup.

Liu Bo (5):
virtiofsd: cleanup allocated resource in se
virtiofsd: fix memory leak on lo.source
virtiofsd: fix memory leak on lo.inodes hashmap
virtiofsd: fix error handling in main()
virtiofsd: add helper for lo_data cleanup

 contrib/virtiofsd/fuse_lowlevel.c  |  7 +++++++
 contrib/virtiofsd/fuse_virtio.c    |  7 +++++++
 contrib/virtiofsd/fuse_virtio.h    |  2 +-
 contrib/virtiofsd/passthrough_ll.c | 36 ++++++++++++++++++++++--------------
 4 files changed, 37 insertions(+), 15 deletions(-)
Signature · 1 line
1.8.3.1