diff options
author | Christoph Hellwig <hch@lst.de> | 2022-07-19 11:18:22 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-08-02 17:22:44 -0600 |
commit | 16648bac862fd9c6490a465533345fbeaa6466e0 (patch) | |
tree | bfb5a7b8ebfa5136067cb338a3fc4b1e2f645dbd /fs/xattr.c | |
parent | f26514342255855f4ca3c0a92cb1cdea01c33004 (diff) | |
download | linux-16648bac862fd9c6490a465533345fbeaa6466e0.tar.gz linux-16648bac862fd9c6490a465533345fbeaa6466e0.tar.bz2 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 'fs/xattr.c')
0 files changed, 0 insertions, 0 deletions