diff options
author | Christoph Hellwig <[email protected]> | 2022-07-19 11:18:24 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-08-02 17:22:46 -0600 |
commit | 5b26804bb0af5d4e4f3440b484244d478d60f16b (patch) | |
tree | 2f5e5522265d248400b8518b91561fb811223e19 /net/lapb/lapb_timer.c | |
parent | 12a6caf273240ae42842de8cc05feaa86e582d61 (diff) |
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 <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Logan Gunthorpe <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions