diff options
author | Jes Sorensen <Jes.Sorensen@gmail.com> | 2017-03-29 21:43:53 +0200 |
---|---|---|
committer | Jes Sorensen <Jes.Sorensen@gmail.com> | 2017-03-29 21:43:53 +0200 |
commit | 018a488238e2ff55d7c2fd29333c1f7305354318 (patch) | |
tree | 1e0f3b74364d74b1ea2b84a21d15b85232303eb7 /mdadm.h | |
parent | util: Introduce md_get_disk_info() (diff) | |
download | mdadm-018a488238e2ff55d7c2fd29333c1f7305354318.tar.xz mdadm-018a488238e2ff55d7c2fd29333c1f7305354318.zip |
util: Introduce md_set_array_info()
Switch from using ioctl(SET_ARRAY_INFO) to using md_set_array_info()
Signed-off-by: Jes Sorensen <Jes.Sorensen@gmail.com>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1406,6 +1406,7 @@ extern int Restore_metadata(char *dev, char *dir, struct context *c, extern int md_get_version(int fd); int md_get_array_info(int fd, struct mdu_array_info_s *array); +int md_set_array_info(int fd, struct mdu_array_info_s *array); int md_get_disk_info(int fd, struct mdu_disk_info_s *disk); extern int get_linux_version(void); extern int mdadm_version(char *version); |