Commit 5224243
tree: do not open blk device on default
The fd is not needed anymore if the kernel exposes all necessary sysfs
entries to fully scan the nvme subsystem. Thus do not alwyas open the
blk device and do it only when necessary.
Signed-off-by: Daniel Wagner <[email protected]>1 parent 7959f52 commit 5224243
1 file changed
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2501 | 2501 | | |
2502 | 2502 | | |
2503 | 2503 | | |
2504 | | - | |
2505 | 2504 | | |
2506 | 2505 | | |
2507 | 2506 | | |
| |||
2512 | 2511 | | |
2513 | 2512 | | |
2514 | 2513 | | |
2515 | | - | |
2516 | | - | |
2517 | | - | |
2518 | | - | |
2519 | 2514 | | |
2520 | 2515 | | |
2521 | 2516 | | |
| |||
2528 | 2523 | | |
2529 | 2524 | | |
2530 | 2525 | | |
2531 | | - | |
2532 | 2526 | | |
2533 | 2527 | | |
2534 | 2528 | | |
| |||
0 commit comments