diff options
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 affd2bb76..8604aca5e 100644 --- a/include/sysfs.h +++ b/include/sysfs.h @@ -62,4 +62,6 @@ extern char *sysfs_get_slave(struct sysfs_cxt *cxt); extern int sysfs_is_partition_dirent(DIR *dir, struct dirent *d, const char *parent_name); +extern int sysfs_devno_to_wholedisk(dev_t dev, char *diskname, + size_t len, dev_t *diskdevno); #endif /* UTIL_LINUX_SYSFS_H */ |