diff options
author | Christoph Hellwig <hch@lst.de> | 2020-11-17 12:01:26 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-01 14:53:39 -0700 |
commit | ec5d451438a2f24c9b9c33c195bc2c39dcd3d3f0 (patch) | |
tree | 571340e8aadfe2b604ac5c012b7d52ce5aaeedf8 /scripts/gdb/linux/utils.py | |
parent | 013b0e96ae2225a649b48a2f8fc4f87429483cb1 (diff) |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions