diff options
author | 2020-11-17 12:01:26 +0100 | |
---|---|---|
committer | 2020-12-01 14:53:39 -0700 | |
commit | ec5d451438a2f24c9b9c33c195bc2c39dcd3d3f0 (patch) | |
tree | 571340e8aadfe2b604ac5c012b7d52ce5aaeedf8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | init: cleanup match_dev_by_uuid and match_dev_by_label (diff) | |
download | wireguard-linux-ec5d451438a2f24c9b9c33c195bc2c39dcd3d3f0.tar.xz wireguard-linux-ec5d451438a2f24c9b9c33c195bc2c39dcd3d3f0.zip |
block: refactor __blkdev_put
Reorder the code to have one big section for the last close, and to use
bdev_is_partition.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions