]> git.baikalelectronics.ru Git - kernel.git/commit
md: raid1: check rdev before reference in raid1_sync_request func
authorZhiqiang Liu <liuzhiqiang26@huawei.com>
Tue, 10 Dec 2019 02:42:25 +0000 (10:42 +0800)
committerSong Liu <songliubraving@fb.com>
Wed, 11 Dec 2019 18:36:13 +0000 (10:36 -0800)
commit6733f171e443e1f6f09295aa426a0b8927b4ccb4
tree1086f52d3b22212ea32ffbe13d44e6cbbd76e148
parentb7c246b50ee2dcc3160b1fb066a02bd398814337
md: raid1: check rdev before reference in raid1_sync_request func

In raid1_sync_request func, rdev should be checked before reference.

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
drivers/md/raid1.c