Files
linux/drivers/md
Logan Gunthorpe 4f4ee2bf32 md/raid5-ppl: Annotate with rcu_dereference_protected()
To suppress the last remaining sparse warnings about accessing
rdev, add rcu_dereference_protected calls to a couple places
in raid5-ppl. All of these places are called under raid5_run and
therefore are occurring before the array has started and is thus
safe.

There's no sensible check to do for the second argument of
rcu_dereference_protected() so a comment is added instead.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Song Liu <song@kernel.org>
2022-04-25 14:00:37 -07:00
..
2022-04-17 19:49:59 -06:00
2022-04-17 19:49:59 -06:00
2021-12-04 08:58:51 -08:00
2022-04-17 19:49:59 -06:00
2022-04-25 14:00:34 -07:00
2022-04-17 19:49:59 -06:00
2022-03-08 15:16:54 -08:00
2022-04-25 14:00:34 -07:00
2022-03-08 15:16:54 -08:00
2019-03-12 10:15:18 -07:00
2022-03-08 15:16:54 -08:00