]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - mdadm.h
Add 'force' flag to *hot_remove_disk().
[thirdparty/mdadm.git] / mdadm.h
diff --git a/mdadm.h b/mdadm.h
index 91fd9eb1252a7574506d3a4a23f82cf2406eb210..cebc0c0a249f9c976fe5ca84a63abcf533679f0c 100644 (file)
--- a/mdadm.h
+++ b/mdadm.h
@@ -1476,6 +1476,8 @@ extern int add_disk(int mdfd, struct supertype *st,
                    struct mdinfo *sra, struct mdinfo *info);
 extern int remove_disk(int mdfd, struct supertype *st,
                       struct mdinfo *sra, struct mdinfo *info);
+extern int hot_remove_disk(int mdfd, unsigned long dev, int force);
+extern int sys_hot_remove_disk(int statefd, int force);
 extern int set_array_info(int mdfd, struct supertype *st, struct mdinfo *info);
 unsigned long long min_recovery_start(struct mdinfo *array);