diff options
author | 2022-07-19 11:18:20 +0200 | |
---|---|---|
committer | 2022-08-02 17:22:43 -0600 | |
commit | b0e706a1ba84e50eaa714486e06e1d0027411658 (patch) | |
tree | 90766c71736542591630900fe288ebc82e8dd8e5 /lib/fault-inject.c | |
parent | md: factor out the rdev overlaps check from rdev_size_store (diff) | |
download | wireguard-linux-b0e706a1ba84e50eaa714486e06e1d0027411658.tar.xz wireguard-linux-b0e706a1ba84e50eaa714486e06e1d0027411658.zip |
md: stop using for_each_mddev in md_do_sync
Just do a plain list_for_each that only grabs a mddev reference in
the case where the thread sleeps and restarts the list iteration.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions