blockdev-util: split out blockdev_reread_partition_table()

No functional changes, just refactoring.
This commit is contained in:
Yu Watanabe
2022-09-10 01:19:41 +09:00
parent 9409174ee7
commit 86f9b69a6a
3 changed files with 27 additions and 15 deletions
+1
View File
@@ -39,3 +39,4 @@ int block_device_resize_partition(int fd, int nr, uint64_t start, uint64_t size)
int partition_enumerator_new(sd_device *dev, sd_device_enumerator **ret);
int block_device_remove_all_partitions(sd_device *dev, int fd);
int block_device_has_partitions(sd_device *dev);
int blockdev_reread_partition_table(sd_device *dev);