aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLuis Chamberlain <mcgrof@kernel.org>2021-09-27 15:02:57 -0700
committerJens Axboe <axboe@kernel.dk>2021-10-18 14:41:37 -0600
commit9ef41effb9b65088053e31c741c2a1ec97190117 (patch)
treef32d37cad24ebce30a8d6fbdeac668ba259f1c1a /tools/perf/scripts/python
parentswim: add helper for disk cleanup (diff)
downloadlinux-9ef41effb9b65088053e31c741c2a1ec97190117.tar.gz
linux-9ef41effb9b65088053e31c741c2a1ec97190117.zip
swim: add a floppy registration bool which triggers del_gendisk()
Instead of calling del_gendisk() on exit alone, let's add a registration bool to the floppy disk state, this way this can be done on the shared caller, swim_cleanup_floppy_disk(). This will be more useful in subsequent patches. Right now, this just shuffles functionality out to a helper in a safe way. Signed-off-by: Luis Chamberlain <mcgrof@kernel.org> Link: https://lore.kernel.org/r/20210927220302.1073499-10-mcgrof@kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions