diff options
author | 2022-07-19 11:18:22 +0200 | |
---|---|---|
committer | 2022-08-02 17:22:44 -0600 | |
commit | 16648bac862fd9c6490a465533345fbeaa6466e0 (patch) | |
tree | bfb5a7b8ebfa5136067cb338a3fc4b1e2f645dbd /lib/fault-inject.c | |
parent | md: stop using for_each_mddev in md_notify_reboot (diff) | |
download | wireguard-linux-16648bac862fd9c6490a465533345fbeaa6466e0.tar.xz wireguard-linux-16648bac862fd9c6490a465533345fbeaa6466e0.zip |
md: stop using for_each_mddev in md_exit
Just do a simple list_for_each_entry_safe on all_mddevs, and only grab a
reference when we drop the lock and delete the now unused for_each_mddev
macro.
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