summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@gmail.com>2017-03-29 21:43:53 +0200
committerJes Sorensen <Jes.Sorensen@gmail.com>2017-03-29 21:43:53 +0200
commit018a488238e2ff55d7c2fd29333c1f7305354318 (patch)
tree1e0f3b74364d74b1ea2b84a21d15b85232303eb7 /mdadm.h
parentutil: Introduce md_get_disk_info() (diff)
downloadmdadm-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdadm.h b/mdadm.h
index 3ab548fe..084bc970 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -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);