Linux Device Mapper development
 help / color / mirror / Atom feed
* [PATCH 0/1] Fix kpart -d regression where matching devices not found
@ 2018-10-06  7:38 Stef Walter
  2018-10-06  7:38 ` [PATCH 1/1] kpartx: Use absolute paths to create mappings Stef Walter
  0 siblings, 1 reply; 3+ messages in thread
From: Stef Walter @ 2018-10-06  7:38 UTC (permalink / raw)
  To: dm-devel; +Cc: Stef Walter

The Lorax project found a regression in kpartx -d behavior introduced
by the following commit: 9bdfa3eb8e24b668e6c2bb882cddb0ccfe23ed5b

This patch should fix the problem. It's easy to reproduce this problem
(I did it on Fedora 28) with the following commands:

        # kpartx -av disk.img
        ...
        # kpartx -dv disk.img

Notice that the loop devices and partition mappings created by the first
command are not cleaned up by the second command.

Stef Walter (1):
  kpartx: Use absolute paths to create mappings

 kpartx/kpartx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-10-09 23:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-06  7:38 [PATCH 0/1] Fix kpart -d regression where matching devices not found Stef Walter
2018-10-06  7:38 ` [PATCH 1/1] kpartx: Use absolute paths to create mappings Stef Walter
2018-10-09 23:21   ` Benjamin Marzinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox