]> git.baikalelectronics.ru Git - kernel.git/commit
md: implement ->free_disk
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Jul 2022 09:18:17 +0000 (11:18 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 2 Aug 2022 23:22:43 +0000 (17:22 -0600)
commit37347bce0700ed9547bef63086bf2ed83c8b6d5d
treedd02b963c306d5ea6bdcb2b09eb13708be136871
parente2a34931be65d943d238d0c42a54f4ff4254f20e
md: implement ->free_disk

Ensure that all private data is only freed once all accesses are done.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/md.c