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 /include/sysfs.h | |
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 'include/sysfs.h')
-rw-r--r-- | include/sysfs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sysfs.h b/include/sysfs.h index 739f9de12..2b77bf6da 100644 --- a/include/sysfs.h +++ b/include/sysfs.h @@ -73,6 +73,8 @@ extern int sysfs_is_partition_dirent(DIR *dir, struct dirent *d, extern int sysfs_devno_to_wholedisk(dev_t dev, char *diskname, size_t len, dev_t *diskdevno); +extern int sysfs_devno_is_lvm_private(dev_t devno); + extern int sysfs_scsi_get_hctl(struct sysfs_cxt *cxt, int *h, int *c, int *t, int *l); extern char *sysfs_scsi_host_strdup_attribute(struct sysfs_cxt *cxt, |