linux-stable/drivers/memstick/core
Christoph Hellwig 185ed423d1 memstick/mspro_block: simplify refcounting
Implement the ->free_disk method to free the msb_data structure only once
the last gendisk reference goes away instead of keeping a local
refcount.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220215094514.3828912-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-02-16 19:44:24 -07:00
..
Kconfig memstick: Fix Kconfig indentation 2019-11-21 12:25:59 +01:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
memstick.c bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
ms_block.c memstick/ms_block: simplify refcounting 2022-02-16 19:44:24 -07:00
ms_block.h memstick/ms_block: simplify refcounting 2022-02-16 19:44:24 -07:00
mspro_block.c memstick/mspro_block: simplify refcounting 2022-02-16 19:44:24 -07:00