diff options
author | Karel Zak | 2015-05-28 12:09:41 +0200 |
---|---|---|
committer | Karel Zak | 2015-05-28 12:09:41 +0200 |
commit | 6c62abc42bb1c2aad60d0da1ce3f7498ac48cd1b (patch) | |
tree | 54c6cbf4b0a972c7bf63ae2da33077ad7d9f307e /libsmartcols/docs | |
parent | lib/sysfs: Fix /dev to /sys node name translation (diff) | |
download | kernel-qcow2-util-linux-6c62abc42bb1c2aad60d0da1ce3f7498ac48cd1b.tar.gz kernel-qcow2-util-linux-6c62abc42bb1c2aad60d0da1ce3f7498ac48cd1b.tar.xz kernel-qcow2-util-linux-6c62abc42bb1c2aad60d0da1ce3f7498ac48cd1b.zip |
lib/sysfs: rename devname functions, cleanup
Well, I don't have mental power to use function names like
sysfs_devname_to_dev_name()
so this patch renames to
sysfs_devname_sys_to_dev()
sysfs_devname_dev_to_sys()
It also cleanups usage of the functions. We have to be sure that
sysfs.c code returns regular devnames. The existence of the sysfs
devnames (with '!') should be completely hidden in sysfs specific
code.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols/docs')
0 files changed, 0 insertions, 0 deletions