summaryrefslogtreecommitdiff
path: root/drivers/md/bcache/trace.c
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2022-09-16 14:34:27 +0300
committerSong Liu <song@kernel.org>2022-09-22 10:05:05 +0300
commit4f350284a7306b3dff676caeafd3faf1b5c068d5 (patch)
tree5e6c2eda45cf543be75d07740d54b8c2df4c855a /drivers/md/bcache/trace.c
parent0c0be98bbe67662a7d2bf8381106bfca0e31ed72 (diff)
downloadlinux-4f350284a7306b3dff676caeafd3faf1b5c068d5.tar.xz
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/md/bcache/trace.c')
0 files changed, 0 insertions, 0 deletions