]> git.ipfire.org Git - thirdparty/util-linux.git/commit
blkid: check device type and name before probe
authorKarel Zak <kzak@redhat.com>
Thu, 25 Nov 2021 10:54:26 +0000 (11:54 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 25 Nov 2021 10:54:26 +0000 (11:54 +0100)
commit64cfe6ac37631a6347bd4005c72dd2d37e737f5e
tree33c376311aee535cc0e2040cae5221fbc08f0197
parent7eb6d9ce4526b968e30f7e538cbbbdf9938e5891
blkid: check device type and name before probe

For calls "blkid /dev/*", it seems better to check the
device type and name before we open the device in libblkid.

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=2026511
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/blkid.c