Commit 6e7fceb
committed
libnvme/linux: allow /dev/ngX device as character device
Previously the nvmeX device name id and ns was not checked.
But currently those checked as if the device character or block.
Therefore add to check the ngX device name as the character device.
Signed-off-by: Tokunori Ikegami <[email protected]>1 parent 8a4df2b commit 6e7fceb
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
95 | 99 | | |
96 | 100 | | |
97 | 101 | | |
| |||
0 commit comments