diff options
| author | Luis Chamberlain <mcgrof@kernel.org> | 2021-09-27 15:02:56 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2021-10-18 14:41:37 -0600 |
| commit | 4e9abe72530a2baf5f80d60e8d0bcdb84964d2e4 (patch) | |
| tree | 78173b2e5545d67aced29974c63aee9faf4f273e /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | swim: simplify using blk_cleanup_disk() on swim_remove() (diff) | |
| download | linux-4e9abe72530a2baf5f80d60e8d0bcdb84964d2e4.tar.gz linux-4e9abe72530a2baf5f80d60e8d0bcdb84964d2e4.zip | |
swim: add helper for disk cleanup
Disk cleanup can be shared between exit and bringup. Use a
helper to do the work required. The only functional change at
this point is we're being overly paraoid on exit to check for
a null disk as well now, and this should be safe.
We'll later expand on this, this change just makes subsequent
changes easier to read.
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/r/20210927220302.1073499-9-mcgrof@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
