diff options
author | 2020-11-27 16:45:27 +0100 | |
---|---|---|
committer | 2020-12-01 14:53:39 -0700 | |
commit | 3a4174e68684e43ecdcb59126a441b29d5e94f7f (patch) | |
tree | a6538a19c9bb3a47297434f2c17da51492ad3565 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | block: change the hash used for looking up block devices (diff) | |
download | wireguard-linux-3a4174e68684e43ecdcb59126a441b29d5e94f7f.tar.xz wireguard-linux-3a4174e68684e43ecdcb59126a441b29d5e94f7f.zip |
block: switch bdgrab to use igrab
All of the current callers already have a reference, but to prepare for
additional users ensure bdgrab returns NULL if the block device is being
freed.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
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