diff options
author | Li Nan <[email protected]> | 2023-07-01 16:05:28 +0800 |
---|---|---|
committer | Song Liu <[email protected]> | 2023-07-27 00:13:30 -0700 |
commit | b99f8fd2d91eb734f13098aa1cf337edaca454b7 (patch) | |
tree | 5f1ece777891e5a8c9348604422e460f7bf31f3b /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 7e85c41b9e1df9192c225afd7cfec8dcad137feb (diff) |
md/raid10: factor out dereference_rdev_and_rrdev()
Factor out a helper to get 'rdev' and 'replacement' from config->mirrors.
Just to make code cleaner and prepare to fix the bug of io loss while
'replacement' replace 'rdev'.
There is no functional change.
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