part-id: Fix DM partition table detection
authorMartin Pitt <martin.pitt@ubuntu.com>
Wed, 7 Apr 2010 06:56:05 +0000 (08:56 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Wed, 7 Apr 2010 06:56:05 +0000 (08:56 +0200)
commitb7b72f2cf53f78ee2b43f88cec37851259cc0f02
tree7b957b6418309dcfc9c1547356c0232900c75359
parent42e2cc0da902335ee40b9a0adf540a0fc4f8936a
part-id: Fix DM partition table detection

If DM_NAME does not end in 'pN' (i. e. is not a partition), do not treat it as
malformed, but just go ahead probing it. This fixes partition table detection
for kpartx'ed DM devices.

Re-enable the test case which originally uncovered this bug.
src/probers/part-id.c
tests/run