]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: don't use CDROM_GET_CAPABILITY ioctl for DM devices
authorKarel Zak <kzak@redhat.com>
Wed, 12 Jul 2017 12:35:53 +0000 (14:35 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 12 Jul 2017 12:35:53 +0000 (14:35 +0200)
commit884659b32a8c632658e00700264570fb027a44d9
treef6e4609617ae2a2d0c2bb29117105c50166c0d58
parent288acb4eee57846634e0e9a63edce10126579563
libblkid: don't use CDROM_GET_CAPABILITY ioctl for DM devices

For some reason kernel commit e980f62353c697cbf0c4325e43df6e44399aeb64
add extra warning when the ioctl is used for DM devices. It seems we
can avoid this ioctl when the device has dm/uuid.

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1469532
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/fdisk-list.c
include/sysfs.h
lib/sysfs.c
libblkid/src/probe.c
libblkid/src/verify.c