diff options
author | 2022-01-12 13:06:02 +0800 | |
---|---|---|
committer | 2022-03-14 13:13:47 +0100 | |
commit | 330a5bf4551784f2f0baef27f2c78550e40fc8a0 (patch) | |
tree | 78844d6fc9354aa3372e69ced58b18df0b653cdc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: add device major-minor info in the struct btrfs_device (diff) | |
download | linux-dev-330a5bf4551784f2f0baef27f2c78550e40fc8a0.tar.xz linux-dev-330a5bf4551784f2f0baef27f2c78550e40fc8a0.zip |
btrfs: use dev_t to match device in device_matched
Commit "btrfs: add device major-minor info in the struct btrfs_device"
saved the device major-minor number in the struct btrfs_device upon
discovering it.
So no need to lookup_bdev() again just match, which means
device_matched() can go away.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions