diff options
| author | Christoph Hellwig <[email protected]> | 2021-08-09 08:40:27 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-08-12 10:29:36 -0600 |
| commit | b75f4aed88febe903bd40a6128b74edd2388417e (patch) | |
| tree | 313a76723500623fee32f4a93b317785a5875e8e /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 224b0683228c5f332f9cee615d85e75e9a347170 (diff) | |
bcache: move the del_gendisk call out of bcache_device_free
Let the callers call del_gendisk so that we can check if add_disk
has been called properly for the cached device case instead of relying
on the block layer internal GENHD_FL_UP flag.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Coly Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions