summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKarel Zak2018-06-15 11:57:48 +0200
committerKarel Zak2018-06-21 13:19:28 +0200
commitab628c7c1899cb37934f1abe78f13ca3f609cddd (patch)
tree7d1d2d3e3cb1ea692e1b687f81e3e6ad3df9f30d /include
parentblockdev: use new ul_path_* API (diff)
downloadkernel-qcow2-util-linux-ab628c7c1899cb37934f1abe78f13ca3f609cddd.tar.gz
kernel-qcow2-util-linux-ab628c7c1899cb37934f1abe78f13ca3f609cddd.tar.xz
kernel-qcow2-util-linux-ab628c7c1899cb37934f1abe78f13ca3f609cddd.zip
lib/sysfs: cleanup function names
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/sysfs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/sysfs.h b/include/sysfs.h
index a7e66f74b..74f69fb9c 100644
--- a/include/sysfs.h
+++ b/include/sysfs.h
@@ -94,6 +94,7 @@ int sysfs_devno_to_wholedisk(dev_t dev, char *diskname,
int sysfs_devno_is_dm_private(dev_t devno, char **uuid);
int sysfs_devno_is_wholedisk(dev_t devno);
dev_t sysfs_devname_to_devno(const char *name);
+dev_t __sysfs_devname_to_devno(const char *prefix, const char *name, const char *parent);
char *sysfs_devno_to_devpath(dev_t devno, char *buf, size_t bufsiz);
char *sysfs_devno_to_devname(dev_t devno, char *buf, size_t bufsiz);
@@ -101,8 +102,8 @@ int sysfs_blkdev_scsi_get_hctl(struct path_cxt *pc, int *h, int *c, int *t, int
char *sysfs_blkdev_scsi_host_strdup_attribute(struct path_cxt *pc,
const char *type, const char *attr);
int sysfs_blkdev_scsi_host_is(struct path_cxt *pc, const char *type);
-int sysfs_scsi_has_attribute(struct path_cxt *pc, const char *attr);
-int sysfs_scsi_path_contains(struct path_cxt *pc, const char *pattern);
+int sysfs_blkdev_scsi_has_attribute(struct path_cxt *pc, const char *attr);
+int sysfs_blkdev_scsi_path_contains(struct path_cxt *pc, const char *pattern);
#endif /* UTIL_LINUX_SYSFS_H */