[PATCH v4 0/2] md: fix md_bitmap_read_sb sanity check issue & deprecated api issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



v4: split v3 to two patches.
    - one for sanity check issue
    - one for strlcpy to strscpy, and duplicated issue.

v3: fixed "uninitialized symbol" error which reported by kbuild robot.

v2: revise commit log
      - change mdadm "FPE" error to "Segmentation fault" error
        ("FPE" belongs to another issue)
      - add kernel crash log
    modify a comment style to follow code rule
    change strlcpy to strscpy for strlcpy is marked as deprecated in:
    - Documentation/process/deprecated.rst

v1: for fixing sanity check issue in md_bitmap_read_sb() created v1.

Heming Zhao (2):
  md/bitmap: don't set sb values if can't pass sanity check
  md: replace deprecated strlcpy & remove duplicated line

 drivers/md/md-bitmap.c  | 45 +++++++++++++++++++++--------------------
 drivers/md/md-cluster.c |  2 +-
 drivers/md/md.c         |  6 +++---
 3 files changed, 27 insertions(+), 26 deletions(-)

-- 
2.34.1





[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux