diff options
author | Tony Asleson | 2018-03-08 22:41:26 +0100 |
---|---|---|
committer | Karel Zak | 2018-03-09 13:34:42 +0100 |
commit | 80ec018c6a0cf321f7b5d57de948354b0850cc8a (patch) | |
tree | 258ccad7df7c329d00bf48bf945d9ad7ce387c87 /libblkid/src/probe.c | |
parent | docs: add new idea to TODO list (diff) | |
download | kernel-qcow2-util-linux-80ec018c6a0cf321f7b5d57de948354b0850cc8a.tar.gz kernel-qcow2-util-linux-80ec018c6a0cf321f7b5d57de948354b0850cc8a.tar.xz kernel-qcow2-util-linux-80ec018c6a0cf321f7b5d57de948354b0850cc8a.zip |
libblkid: ignore private Stratis devices
[kzak@redhat.com: - tiny coding style changes]
References: 20e1c3dc03399d6988ef35dedc1364cfc12e9263
Signed-off-by: Tony Asleson <tasleson@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libblkid/src/probe.c')
-rw-r--r-- | libblkid/src/probe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libblkid/src/probe.c b/libblkid/src/probe.c index 74eaffd2b..647ae416a 100644 --- a/libblkid/src/probe.c +++ b/libblkid/src/probe.c @@ -923,8 +923,8 @@ int blkid_probe_set_device(blkid_probe pr, int fd, pr->flags |= BLKID_FL_TINY_DEV; if (S_ISBLK(sb.st_mode) && - sysfs_devno_is_lvm_private(sb.st_rdev, &dm_uuid)) { - DBG(LOWPROBE, ul_debug("ignore private LVM device")); + sysfs_devno_is_dm_private(sb.st_rdev, &dm_uuid)) { + DBG(LOWPROBE, ul_debug("ignore private device mapper device")); pr->flags |= BLKID_FL_NOSCAN_DEV; } |