aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2022-07-19 11:18:23 +0200
committerJens Axboe <[email protected]>2022-08-02 17:22:44 -0600
commit12a6caf273240ae42842de8cc05feaa86e582d61 (patch)
tree46a857e07a65f026f4f30d4d69475891349a0e5c /net/lapb/lapb_timer.c
parent16648bac862fd9c6490a465533345fbeaa6466e0 (diff)
md: only delete entries from all_mddevs when the disk is freed
This ensures device names don't get prematurely reused. Instead add a deleted flag to skip already deleted devices in mddev_get and other places that only want to see live mddevs. Reported-by: Logan Gunthorpe <[email protected]> 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