summaryrefslogtreecommitdiff
path: root/drivers/md/raid5.c
diff options
context:
space:
mode:
authorGuoqing Jiang <guoqing.jiang@linux.dev>2021-10-04 18:34:50 +0300
committerJens Axboe <axboe@kernel.dk>2021-10-18 23:50:28 +0300
commit2e94275ed582d9bfe1abc5d5ee565715cc3e6b38 (patch)
treec925e55c615dd7b9a4664d492388afb684384423 /drivers/md/raid5.c
parentfd3b6975e9c11c4fa00965f82a0bfbb3b7b44101 (diff)
downloadlinux-2e94275ed582d9bfe1abc5d5ee565715cc3e6b38.tar.xz
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 'drivers/md/raid5.c')
0 files changed, 0 insertions, 0 deletions