From 39866431eef1329660a30567c6a8de0b60330115 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 17 Jun 2014 11:20:32 +0200 Subject: lib/sysfs: add sysfs_devno_is_lvm_private() from libblkid Signed-off-by: Karel Zak --- include/sysfs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/sysfs.h') 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, -- cgit v1.2.3-55-g7522