mbox series

[V2,00/14] mdadm: fix coverity issues

Message ID 20240719095219.9705-1-xni@redhat.com (mailing list archive)
Headers show
Series mdadm: fix coverity issues | expand

Message

Xiao Ni July 19, 2024, 9:52 a.m. UTC
V2: replace close with close_fd and use is_fd_valid

Xiao Ni (14):
  mdadm/Grow: fix coverity issue CHECKED_RETURN
  mdadm/Grow: fix coverity issue RESOURCE_LEAK
  mdadm/Grow: fix coverity issue STRING_OVERFLOW
  mdadm/Incremental: fix coverity issues.
  mdadm/mdmon: fix coverity issue CHECKED_RETURN
  mdadm/mdmon: fix coverity issue RESOURCE_LEAK
  mdadm/mdopen: fix coverity issue CHECKED_RETURN
  mdadm/mdopen: fix coverity issue STRING_OVERFLOW
  mdadm/mdstat: fix coverity issue CHECKED_RETURN
  mdadm/super0: fix coverity issue CHECKED_RETURN and EVALUATION_ORDER
  mdadm/super1: fix coverity issue CHECKED_RETURN
  mdadm/super1: fix coverity issue DEADCODE
  mdadm/super1: fix coverity issue EVALUATION_ORDER
  mdadm/super1: fix coverity issue RESOURCE_LEAK

 Grow.c        | 92 +++++++++++++++++++++++++++++++++++++++++----------
 Incremental.c | 20 +++++------
 mdmon.c       | 17 +++++++---
 mdopen.c      |  8 +++--
 mdstat.c      | 12 +++++--
 super0.c      | 10 ++++--
 super1.c      | 32 +++++++++++++-----
 7 files changed, 142 insertions(+), 49 deletions(-)