Commit 97c8bb0
committed
nvme: extend filter to match device name
nvme_match_device_filter is used by list-subsys where it is possible to
limit the output by providing a block device.
The current implementation only matches on subsystem ID level, but this
is not what the expectation is from the user. It is expected to limit
the output by the block device name.
Change the match to use the block device name instead.
Signed-off-by: Daniel Wagner <[email protected]>1 parent ac005e7 commit 97c8bb0
1 file changed
Lines changed: 11 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3386 | 3386 | | |
3387 | 3387 | | |
3388 | 3388 | | |
3389 | | - | |
3390 | 3389 | | |
| 3390 | + | |
3391 | 3391 | | |
3392 | | - | |
| 3392 | + | |
3393 | 3393 | | |
3394 | 3394 | | |
3395 | | - | |
3396 | | - | |
3397 | | - | |
3398 | | - | |
3399 | | - | |
3400 | | - | |
3401 | | - | |
3402 | | - | |
3403 | | - | |
3404 | | - | |
3405 | 3395 | | |
3406 | 3396 | | |
3407 | | - | |
3408 | | - | |
3409 | | - | |
3410 | | - | |
3411 | | - | |
| 3397 | + | |
| 3398 | + | |
| 3399 | + | |
| 3400 | + | |
3412 | 3401 | | |
3413 | | - | |
3414 | | - | |
3415 | | - | |
| 3402 | + | |
| 3403 | + | |
| 3404 | + | |
| 3405 | + | |
| 3406 | + | |
3416 | 3407 | | |
3417 | 3408 | | |
3418 | 3409 | | |
| |||
0 commit comments