diff options
author | Karel Zak | 2018-10-09 12:46:28 +0200 |
---|---|---|
committer | Karel Zak | 2018-12-07 12:32:57 +0100 |
commit | fed34a1e631594d4c4337a1b2a7e9507715e11c6 (patch) | |
tree | 8c756e2fbd26d4b2e270326a007aa4fc27e48726 /misc-utils/lsblk.h | |
parent | build-sys: do not require crypt() (diff) | |
download | kernel-qcow2-util-linux-fed34a1e631594d4c4337a1b2a7e9507715e11c6.tar.gz kernel-qcow2-util-linux-fed34a1e631594d4c4337a1b2a7e9507715e11c6.tar.xz kernel-qcow2-util-linux-fed34a1e631594d4c4337a1b2a7e9507715e11c6.zip |
lsblk: rename blkdev_cxt to lsblk_device
The patch does not change code logic and semantic -- just rename.
* set_cxt() to set_device()
* struct blkdev_cxt to lsblk_device
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/lsblk.h')
-rw-r--r-- | misc-utils/lsblk.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/misc-utils/lsblk.h b/misc-utils/lsblk.h index baad3aa9b..935c9de15 100644 --- a/misc-utils/lsblk.h +++ b/misc-utils/lsblk.h @@ -64,8 +64,8 @@ struct lsblk_devprop { char *model; /* disk model */ }; -struct blkdev_cxt { - struct blkdev_cxt *parent; +struct lsblk_device { + struct lsblk_device *parent; struct lsblk_devprop *properties; struct libscols_line *scols_line; @@ -102,11 +102,11 @@ struct blkdev_cxt { extern void lsblk_mnt_init(void); extern void lsblk_mnt_deinit(void); -extern char *lsblk_device_get_mountpoint(struct blkdev_cxt *cxt); +extern char *lsblk_device_get_mountpoint(struct lsblk_device *dev); /* lsblk-properties.c */ extern void lsblk_device_free_properties(struct lsblk_devprop *p); -extern struct lsblk_devprop *lsblk_device_get_properties(struct blkdev_cxt *cxt); +extern struct lsblk_devprop *lsblk_device_get_properties(struct lsblk_device *dev); extern void lsblk_properties_deinit(void); #endif /* UTIL_LINUX_LSBLK_H */ |