summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2023-10-10 18:19:41 +0300
committerSong Liu <song@kernel.org>2023-10-11 04:49:49 +0300
commit06a4d0d8c642b5ea654e832b74dca12965356da0 (patch)
treeb5cd7c479a32b81fdeb7bdce31658192586e6589 /crypto
parent617787f1386da5e851dad68926a31522134d352b (diff)
downloadlinux-06a4d0d8c642b5ea654e832b74dca12965356da0.tar.xz
md/raid5-cache: use READ_ONCE/WRITE_ONCE for 'conf->log'
'conf->log' is set with 'reconfig_mutex' grabbed, however, readers are not procted, hence protect it with READ_ONCE/WRITE_ONCE to prevent reading abnormal values. Signed-off-by: Yu Kuai <yukuai3@huawei.com> Signed-off-by: Song Liu <song@kernel.org> Link: https://lore.kernel.org/r/20231010151958.145896-3-yukuai1@huaweicloud.com
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions