aboutsummaryrefslogtreecommitdiff
path: root/mm/cma_debug.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2022-03-08 06:51:53 +0100
committerJens Axboe <[email protected]>2022-03-08 19:40:01 -0700
commit9c63f7f6ff3142edc81776df35d79e088df6ba6c (patch)
tree7770307bb6d16ccf23cae8d0de3ac7e7697fbe54 /mm/cma_debug.c
parent534cf52aa9c18d87599a8811a39735c1b62742a0 (diff)
sd: implement ->free_disk to simplify refcounting
Implement the ->free_disk method to to put struct scsi_disk when the last gendisk reference count goes away. This removes the need to clear ->private_data and thus freeze the queue on unbind. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Ming Lei <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'mm/cma_debug.c')
0 files changed, 0 insertions, 0 deletions