aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorLi Nan <[email protected]>2023-07-01 16:05:29 +0800
committerSong Liu <[email protected]>2023-07-27 00:13:30 -0700
commit673643490b9a0eb3b25633abe604f62b8f63dba1 (patch)
treecb2f1857aacb43328b738fe6598eda3609d8e360 /lib/test_fortify/write_overflow-strncpy-src.c
parentb99f8fd2d91eb734f13098aa1cf337edaca454b7 (diff)
md/raid10: use dereference_rdev_and_rrdev() to get devices
Commit 2ae6aaf76912 ("md/raid10: fix io loss while replacement replace rdev") reads replacement first to prevent io loss. However, there are same issue in wait_blocked_dev() and raid10_handle_discard(), too. Fix it by using dereference_rdev_and_rrdev() to get devices. Fixes: d30588b2731f ("md/raid10: improve raid10 discard request") Fixes: f2e7e269a752 ("md/raid10: pull the code that wait for blocked dev into one function") Signed-off-by: Li Nan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Song Liu <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions