diff options
author | Anand Jain <anand.jain@oracle.com> | 2022-01-12 13:06:02 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-03-14 13:13:47 +0100 |
commit | 330a5bf4551784f2f0baef27f2c78550e40fc8a0 (patch) | |
tree | 78844d6fc9354aa3372e69ced58b18df0b653cdc /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 4889bc05a96e039b055bbd11438c40bf956f057b (diff) |
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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions