diff options
author | Christoph Hellwig <hch@lst.de> | 2022-03-08 06:51:54 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-03-08 19:40:01 -0700 |
commit | 01d0c698536fe920733fc6cab7f9740c7acfdece (patch) | |
tree | 9c6f9f16cf3460a8bc9b91314c8cf62c8e4d8ef4 /block | |
parent | 9c63f7f6ff3142edc81776df35d79e088df6ba6c (diff) | |
download | linux-01d0c698536fe920733fc6cab7f9740c7acfdece.tar.bz2 |
sr: implement ->free_disk to simplify refcounting
Simplify the refcounting and remove the need to clear disk->private_data
by implementing the ->free_disk method.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20220308055200.735835-9-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions