diff options
author | Karel Zak | 2014-06-17 11:20:32 +0200 |
---|---|---|
committer | Karel Zak | 2014-06-17 11:20:32 +0200 |
commit | 39866431eef1329660a30567c6a8de0b60330115 (patch) | |
tree | 466c68fef21e11708218d2d15765b52410e06387 /libblkid/src/probe.c | |
parent | findmnt: add --nocanonicalize to avoid realpath() (diff) | |
download | kernel-qcow2-util-linux-39866431eef1329660a30567c6a8de0b60330115.tar.gz kernel-qcow2-util-linux-39866431eef1329660a30567c6a8de0b60330115.tar.xz kernel-qcow2-util-linux-39866431eef1329660a30567c6a8de0b60330115.zip |
lib/sysfs: add sysfs_devno_is_lvm_private() from libblkid
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libblkid/src/probe.c')
-rw-r--r-- | libblkid/src/probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libblkid/src/probe.c b/libblkid/src/probe.c index f2431dcf4..fbb07b1b7 100644 --- a/libblkid/src/probe.c +++ b/libblkid/src/probe.c @@ -725,7 +725,7 @@ int blkid_probe_set_device(blkid_probe pr, int fd, if (pr->size <= 1440 * 1024 && !S_ISCHR(sb.st_mode)) pr->flags |= BLKID_FL_TINY_DEV; - if (S_ISBLK(sb.st_mode) && blkid_lvm_private(sb.st_rdev)) { + if (S_ISBLK(sb.st_mode) && sysfs_devno_is_lvm_private(sb.st_rdev)) { DBG(LOWPROBE, ul_debug("ignore private LVM device")); pr->flags |= BLKID_FL_NOSCAN_DEV; } |