aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-07-19 11:18:24 +0200
committerJens Axboe <axboe@kernel.dk>2022-08-02 17:22:46 -0600
commit5b26804bb0af5d4e4f3440b484244d478d60f16b (patch)
tree2f5e5522265d248400b8518b91561fb811223e19 /lib/fault-inject.c
parentmd: only delete entries from all_mddevs when the disk is freed (diff)
downloadwireguard-linux-5b26804bb0af5d4e4f3440b484244d478d60f16b.tar.xz
wireguard-linux-5b26804bb0af5d4e4f3440b484244d478d60f16b.zip
md: simplify md_open
Now that devices are on the all_mddevs list until the gendisk is freed, there can't be any duplicates. Remove the global list lookup and just grab a reference. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Logan Gunthorpe <logang@deltatee.com> 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