summaryrefslogtreecommitdiffstats
path: root/include/sysfs.h
diff options
context:
space:
mode:
authorKarel Zak2018-05-15 13:43:29 +0200
committerKarel Zak2018-06-21 13:07:46 +0200
commitbcf445fd688692fd4cbfde03cda60be4281ac28b (patch)
tree0a805ce19b8b7bb2cf204320eb9cf24b455c9e63 /include/sysfs.h
parentlib/loopdev: remove obsolete macro (diff)
downloadkernel-qcow2-util-linux-bcf445fd688692fd4cbfde03cda60be4281ac28b.tar.gz
kernel-qcow2-util-linux-bcf445fd688692fd4cbfde03cda60be4281ac28b.tar.xz
kernel-qcow2-util-linux-bcf445fd688692fd4cbfde03cda60be4281ac28b.zip
lib/path lib/sysfs: add debug
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/sysfs.h')
-rw-r--r--include/sysfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sysfs.h b/include/sysfs.h
index aa02674ad..ea87d6a12 100644
--- a/include/sysfs.h
+++ b/include/sysfs.h
@@ -64,6 +64,8 @@ struct sysfs_blkdev {
hctl_error : 1 ;
};
+void ul_sysfs_init_debug(void);
+
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);