diff options
author | NeilBrown <neilb@suse.de> | 2009-07-13 15:00:02 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-07-13 15:00:02 +1000 |
commit | 84e11361aa37c92c3c016095e5db7f4fc434ac18 (patch) | |
tree | 784d588a80d609f857beef00107adda2cc7b10d8 /mdadm.h | |
parent | e0d95aac9626badd1b849ce4f99f9c406d55beae (diff) | |
download | mdadm-84e11361aa37c92c3c016095e5db7f4fc434ac18.tar.gz mdadm-84e11361aa37c92c3c016095e5db7f4fc434ac18.tar.xz mdadm-84e11361aa37c92c3c016095e5db7f4fc434ac18.zip |
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 <neilb@suse.de>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |