diff options
author | David Teigland <teigland@redhat.com> | 2020-10-15 12:56:36 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2020-10-21 16:24:16 -0500 |
commit | c7311d472203614b229cf17606d14fb53df85945 (patch) | |
tree | e746b629f15426b383336584f8f90b9f27b2b343 /lib/label | |
parent | b3cdf0d881e63f16b8a29b26bbe3439798f44184 (diff) | |
download | lvm2-c7311d472203614b229cf17606d14fb53df85945.tar.gz |
lvmcache: rename label_read label_scan_dev
for consistent naming with other similar functions
Diffstat (limited to 'lib/label')
-rw-r--r-- | lib/label/label.c | 2 | ||||
-rw-r--r-- | lib/label/label.h | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/label/label.c b/lib/label/label.c index b06aaae00..a47cd1731 100644 --- a/lib/label/label.c +++ b/lib/label/label.c @@ -1394,7 +1394,7 @@ void label_scan_destroy(struct cmd_context *cmd) * device, this is not a commonly used function. */ -int label_read(struct device *dev) +int label_scan_dev(struct device *dev) { struct dm_list one_dev; struct device_list *devl; diff --git a/lib/label/label.h b/lib/label/label.h index 25913bb6d..8778c17a8 100644 --- a/lib/label/label.h +++ b/lib/label/label.h @@ -106,12 +106,11 @@ int label_scan(struct cmd_context *cmd); int label_scan_devs(struct cmd_context *cmd, struct dev_filter *f, struct dm_list *devs); int label_scan_devs_rw(struct cmd_context *cmd, struct dev_filter *f, struct dm_list *devs); int label_scan_devs_excl(struct dm_list *devs); +int label_scan_dev(struct device *dev); void label_scan_invalidate(struct device *dev); void label_scan_invalidate_lv(struct cmd_context *cmd, struct logical_volume *lv); void label_scan_drop(struct cmd_context *cmd); void label_scan_destroy(struct cmd_context *cmd); -int label_read(struct device *dev); -int label_read_sector(struct device *dev, uint64_t scan_sector); void label_scan_confirm(struct device *dev); int label_scan_setup_bcache(void); int label_scan_open(struct device *dev); |