l2of_vd() contains the necessary bits to append the partition number
to the resulting OFPATH, but it does not actually extract the partition number from the logical device path in the first place. This adds the
missing substring extraction of the partition number from the logical
device path so that the partition number is appended to OFPATH when
the logical device is a partition.
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
---
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 81:44:31 |
Calls: | 6,658 |
Calls today: | 4 |
Files: | 12,203 |
Messages: | 5,333,318 |
Posted today: | 1 |