Skip to content

md: fix md_bitmap_read_sb sanity check issue & deprecated api issue

Heming Zhao linux-raid 4 versions – Applied

Status from this message: Applied to md-next. Thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 1 replyApplied
  2. v31 patch 3 repliesSuperseded
  3. v21 patch 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch4 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2md/bitmap: don't set sb values if can't pass sanity checkdrivers/md/md-bitmap.c+23 -210 replies
2/2md: replace deprecated strlcpy & remove duplicated linedrivers/md/md-bitmap.c drivers/md/md-cluster.c drivers/md/md.c+5 -60 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchGuoqing Jiang
1/2A-b
2/2

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

Read the v4 thread

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

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(-)
Signature · 1 line
2.34.1