summaryrefslogtreecommitdiffstats
path: root/include/sysfs.h
diff options
context:
space:
mode:
authorKarel Zak2018-05-15 13:08:18 +0200
committerKarel Zak2018-06-21 13:07:46 +0200
commit83029ea577fc9a9f9393a579183baa70c23e9dd8 (patch)
treed4a36efcb7f1b23d346f7fe78ba00cffe41e5ffa /include/sysfs.h
parentlib/sysfs: new implementation (diff)
downloadkernel-qcow2-util-linux-83029ea577fc9a9f9393a579183baa70c23e9dd8.tar.gz
kernel-qcow2-util-linux-83029ea577fc9a9f9393a579183baa70c23e9dd8.tar.xz
kernel-qcow2-util-linux-83029ea577fc9a9f9393a579183baa70c23e9dd8.zip
lib/sysfs: add ul_new_sysfs_path() shortcut
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/sysfs.h')
-rw-r--r--include/sysfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysfs.h b/include/sysfs.h
index c36eab035..aa02674ad 100644
--- a/include/sysfs.h
+++ b/include/sysfs.h
@@ -64,6 +64,7 @@ struct sysfs_blkdev {
hctl_error : 1 ;
};
+struct path_cxt *ul_new_sysfs_path(dev_t devno, struct path_cxt *parent, const char *prefix);
int sysfs_blkdev_init_path(struct path_cxt *pc, dev_t devno, struct path_cxt *parent);
int sysfs_blkdev_set_parent(struct path_cxt *pc, struct path_cxt *parent);