Skip to content

btrfs-progs: more Coverity cleanups

Eric Sandeen linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14btrfs-progs: close fd on cmd_subvol_list returncmds-subvolume.c+2 -00 replies
2/14btrfs-progs: close fd on do_convert error returnsconvert.c+4 -10 replies
3/14btrfs-progs: free resources on do_rollback error returnsconvert.c+6 -20 replies
4/14btrfs-progs: don't leak fd in get_fs_infoutils.c+14 -72 replies
5/14btrfs-progs: free allocated metadump structure on restore failurebtrfs-image.c+5 -40 replies
6/14btrfs-progs: check for null string in parse_sizeutils.c+1 -10 replies
7/14btrfs-progs: tidy up cmd_snapshot() whitespace & returnscmds-subvolume.c+15 -150 replies
8/14btrfs-progs: Free resources when returning error from cmd_snapshot()cmds-subvolume.c+24 -170 replies
9/14btrfs-progs: tidy up cmd_subvol_create() whitespace & returnscmds-subvolume.c+9 -90 replies
10/14btrfs-progs: Free resources when returning error from cmd_subvol_create()cmds-subvolume.c+16 -130 replies
11/14btrfs-progs: check return of posix_fadvisedisk-io.c volumes.c+6 -30 replies
12/14btrfs-progs: Issue warnings if ioctls fail in sigint handlerscmds-replace.c cmds-scrub.c+9 -23 replies
13/14btrfs-progs: better option/error handling for btrfs-volbtrfs-vol.c+6 -10 replies
14/14btrfs-progs: Error handling in scrub_progress_cycle() threadcmds-scrub.c+31 -174 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/14] btrfs-progs: more Coverity cleanups

This gets the coverity issue count down to 33. Before Zach started this process, we were over 150, IIRC. So it's almost to the point where the scans will be manageable going forward.

Not a lot of real bugfixes here, but a bit better error handling in places. I sent out 2 dumb patches (elsewhere) on Friday, though, so feel free to take a close & skeptical look at these ;)

Thanks,
-Eric