diff options
author | Karel Zak | 2012-08-13 22:06:18 +0200 |
---|---|---|
committer | Karel Zak | 2012-08-13 22:06:18 +0200 |
commit | 778ad369f6d7afd70a1a001f2dfe55f08be3734b (patch) | |
tree | 600ca350923d68023c35fdaff71ce4e7b88881ec /include/sysfs.h | |
parent | lib/mangle: remove unused variable (diff) | |
download | kernel-qcow2-util-linux-778ad369f6d7afd70a1a001f2dfe55f08be3734b.tar.gz kernel-qcow2-util-linux-778ad369f6d7afd70a1a001f2dfe55f08be3734b.tar.xz kernel-qcow2-util-linux-778ad369f6d7afd70a1a001f2dfe55f08be3734b.zip |
lib/sysfs; add sysfs_partno_to_devno()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/sysfs.h')
-rw-r--r-- | include/sysfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysfs.h b/include/sysfs.h index 19cf9e8e0..9e47a5571 100644 --- a/include/sysfs.h +++ b/include/sysfs.h @@ -57,6 +57,7 @@ extern char *sysfs_strdup(struct sysfs_cxt *cxt, const char *attr); extern int sysfs_count_dirents(struct sysfs_cxt *cxt, const char *attr); extern int sysfs_count_partitions(struct sysfs_cxt *cxt, const char *devname); +extern dev_t sysfs_partno_to_devno(struct sysfs_cxt *cxt, int partno); extern char *sysfs_get_slave(struct sysfs_cxt *cxt); extern int sysfs_is_partition_dirent(DIR *dir, struct dirent *d, |