]> git.ipfire.org Git - thirdparty/systemd.git/commit
v3: Properly parsing SCSI Hyperv devices (#8509)
authorLong Li <longli@microsoft.com>
Wed, 21 Mar 2018 10:51:28 +0000 (03:51 -0700)
committerLennart Poettering <lennart@poettering.net>
Wed, 21 Mar 2018 10:51:28 +0000 (11:51 +0100)
commitcf3fabacaa141a1224a2ad239806a1fa28b51687
tree2a09f42a2671058dbdf5c86403a45ce621d8f8f4
parented1738a24ab1ad4320a9c083c462f7663151d759
v3: Properly parsing SCSI Hyperv devices (#8509)

Since 2016, Hyperv devices moved to using standard way to expose UUID to sysfs. Fix the parsing function to work with the newer format.

Change log:
v2: changed code to work with both old and new path format
v3: changed guid_str_len type to size_t, fixed length in char guid[] in handle_scsi_hyperv()
src/udev/udev-builtin-path_id.c