From 84e11361aa37c92c3c016095e5db7f4fc434ac18 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Mon, 13 Jul 2009 15:00:02 +1000 Subject: Grow: support --array-size changes With 2.6.30 it is possible to tell the md driver to clip an array to a size smaller than the real size of the array. This option gives access to that feature. The size change does not persist across restarts. Signed-off-by: NeilBrown --- mdadm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'mdadm.h') diff --git a/mdadm.h b/mdadm.h index 89ec77a..bf7e59d 100644 --- a/mdadm.h +++ b/mdadm.h @@ -774,6 +774,7 @@ extern unsigned long bitmap_sectors(struct bitmap_super_s *bsb); extern int md_get_version(int fd); extern int get_linux_version(void); +extern long long parse_size(char *size); extern int parse_uuid(char *str, int uuid[4]); extern int check_ext2(int fd, char *name); extern int check_reiser(int fd, char *name); -- cgit