erofs-utils: fix issues found by LLMs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 0 repliesNew
- v18 patches 2 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | erofs-utils: lib: free inline data on rebuild failurelib/ | +2 | 0 replies | |
| 2/9 | erofs-utils: lib: fix fragment buffer leak on realloc failurelib/ | +0 | 0 replies | |
| 3/9 | erofs-utils: lib: fix erofs_io_read() caller error handlinglib/ lib/ lib/ | +4 | 0 replies | |
| 4/9 | erofs-utils: lib: fix erofs_io_pread() caller error handlinglib/ lib/ lib/ +2 more | +14 | 0 replies | |
| 5/9 | erofs-utils: lib: fix erofs_io_pwrite() caller error handlinglib/ | +9 | 0 replies | |
| 6/9 | erofs-utils: lib: fix __erofs_io_pwrite() caller error handlinglib/ | +1 | 0 replies | |
| 7/9 | erofs-utils: lib: return negative errno from erofs_io_{fstat,ftruncate}lib/ | +6 | 0 replies | |
| 8/9 | erofs-utils: ublk: report the handler's real I/O resultlib/ | +1 | 0 replies | |
| 9/9 | erofs-utils: lib: bound OCI blob reads to the requested lengthlib/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/9] erofs-utils: fix issues found by LLMs
This patchset revises patches 4 and 8 of v1. The other six patches have already been applied. The nine patches are organized as follows:
1. From v1 patch 4: fix the inline data buffer leak on rebuild failure.
2. From v1 patch 4: fix the fragment buffer leak on realloc() failure.
3. From v1 patch 8: fix erofs_io_read() caller error handling.
4. From v1 patch 8: fix erofs_io_pread() caller error handling.
5. New in v2: fix erofs_io_pwrite() caller error handling.
6. New in v2: fix __erofs_io_pwrite() caller error handling.
7. New in v2: fix erofs_io_fstat() and erofs_io_ftruncate() error returns.
8. From v1 patch 8: report the ublk handler's actual I/O result.
9. From v1 patch 8: limit OCI blob copies to the requested length.
v1: https://lore.kernel.org/linux-erofs/[email protected]/
Yifan Zhao (9):
erofs-utils: lib: free inline data on rebuild failure
erofs-utils: lib: fix fragment buffer leak on realloc failure
erofs-utils: lib: fix erofs_io_read() caller error handling
erofs-utils: lib: fix erofs_io_pread() caller error handling
erofs-utils: lib: fix erofs_io_pwrite() caller error handling
erofs-utils: lib: fix __erofs_io_pwrite() caller error handling
erofs-utils: lib: return negative errno from
erofs_io_{fstat,ftruncate} erofs-utils: ublk: report the handler's real I/O result
erofs-utils: lib: bound OCI blob reads to the requested length
lib/backends/fanotify.c | 3 ++- lib/backends/nbd.c | 2 ++ lib/backends/ublk.c | 2 +- lib/compress.c | 4 +++- lib/fragments.c | 6 ++---- lib/inode.c | 13 ++++++------- lib/io.c | 24 +++++++++++++++--------- lib/remotes/oci.c | 1 + lib/super.c | 2 +- mount/main.c | 10 +++++----- 10 files changed, 38 insertions(+), 29 deletions(-)
base-commit: b9dd73fb478ac88fc142e6430ed71be43dc65cab
Signature · 1 line
2.56.0