diff options
| author | Guoqing Jiang <guoqing.jiang@linux.dev> | 2021-10-04 23:34:50 +0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2021-10-18 14:50:28 -0600 |
| commit | 2e94275ed582d9bfe1abc5d5ee565715cc3e6b38 (patch) | |
| tree | c925e55c615dd7b9a4664d492388afb684384423 /lib/mpi/mpi-sub-ui.c | |
| parent | fd3b6975e9c11c4fa00965f82a0bfbb3b7b44101 (diff) | |
md/raid1: use rdev in raid1_write_request directly
We already get rdev from conf->mirrors[i].rdev at the beginning of the
loop, so just use it.
Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
