]> 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>
Mon, 17 Jul 2017 09:46:09 +0000 (11:46 +0200)
commit23fec903f436aac52f78101d77a5000b399aaa73
tree3a03572649b4f31b921dc2c1726f4c3fc9f9f65f
parent8a264bb05fab041abef84dc0f57833b81b09eefb
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