Signed-off-by: NeilBrown <neilb@suse.de>
* it read-only and let the grow code make it writable.
*/
int rv;
+#ifndef MDASSEMBLE
if (content->reshape_active &&
content->delta_disks <= 0)
rv = Grow_continue(mdfd, st, content, backup_file);
else
+#endif
rv = ioctl(mdfd, RUN_ARRAY, NULL);
if (rv == 0) {
if (verbose >= 0) {
return (a*1000000)+(b*1000)+c;
}
+#ifndef MDASSEMBLE
long long parse_size(char *size)
{
/* parse 'size' which should be a number optionally
return mode | (atoi(layout+ln)<< ModeShift);
}
+#endif
void remove_partitions(int fd)
{