diff options
author | Yu Kuai | 2022-09-16 19:34:27 +0800 |
---|---|---|
committer | Song Liu | 2022-09-22 00:05:05 -0700 |
commit | 4f350284a7306b3dff676caeafd3faf1b5c068d5 (patch) | |
tree | 5e6c2eda45cf543be75d07740d54b8c2df4c855a /drivers/ipack | |
parent | 0c0be98bbe67662a7d2bf8381106bfca0e31ed72 (diff) |
md/raid10: fix improper BUG_ON() in raise_barrier()
'conf->barrier' is protected by 'conf->resync_lock', reading
'conf->barrier' without holding the lock is wrong.
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Acked-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'drivers/ipack')
0 files changed, 0 insertions, 0 deletions