diff options
author | Anand Jain <[email protected]> | 2022-01-12 13:06:02 +0800 |
---|---|---|
committer | David Sterba <[email protected]> | 2022-03-14 13:13:47 +0100 |
commit | 330a5bf4551784f2f0baef27f2c78550e40fc8a0 (patch) | |
tree | 78844d6fc9354aa3372e69ced58b18df0b653cdc /lib/memory-notifier-error-inject.c | |
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 <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions