mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
dmsetup: debug print
Udev debugging is a bit tricky, so to more easily pair cookie ID, which is the lowest 16 bit - print cookie as hexa number. This simplify pairing of processed cookies while the 'higher bit flags' are changed for the same cookie.
This commit is contained in:
parent
30a98e4d67
commit
a18f562913
@ -1,5 +1,6 @@
|
||||
Version 1.02.165 -
|
||||
=================================
|
||||
Add debug of dmsetup udevcomplete with hexa print DM_COOKIE_COMPLETED.
|
||||
Fix versioning of dm_stats_create_region and dm_stats_create_region.
|
||||
|
||||
Version 1.02.163 - 15th June 2019
|
||||
|
@ -1695,6 +1695,7 @@ static int _udevcomplete(CMD_ARGS)
|
||||
if (!(cookie = _get_cookie_value(argv[0])))
|
||||
return_0;
|
||||
|
||||
printf("DM_COOKIE_COMPLETED=0x%-10x", cookie);
|
||||
/*
|
||||
* Strip flags from the cookie and use cookie magic instead.
|
||||
* If the cookie has non-zero prefix and the base is zero then
|
||||
|
Loading…
Reference in New Issue
Block a user