diff options
author | NeilBrown <neilb@suse.de> | 2013-05-23 15:48:48 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-05-28 16:44:23 +1000 |
commit | 199f1a1fadcd0fb5efba656ad92a44c51f8cc8ea (patch) | |
tree | 5f85a1db5fb927b5a33643c621ff64f60ffb4c3f /mdadm.c | |
parent | afa368f49ac0a12185f243eeedfa8242f2c7a036 (diff) |
Assemble: allow --update=revert-reshape
This will cause a reshape to start going backwards.
Diffstat (limited to 'mdadm.c')
-rw-r--r-- | mdadm.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -757,6 +757,8 @@ int main(int argc, char *argv[]) continue; if (strcmp(c.update, "metadata") == 0) continue; + if (strcmp(c.update, "revert-reshape") == 0) + continue; if (strcmp(c.update, "byteorder")==0) { if (ss) { pr_err("must not set metadata" @@ -787,7 +789,7 @@ int main(int argc, char *argv[]) fprintf(outf, "Valid --update options are:\n" " 'sparc2.2', 'super-minor', 'uuid', 'name', 'resync',\n" " 'summaries', 'homehost', 'byteorder', 'devicesize',\n" - " 'no-bitmap', 'metadata'\n"); + " 'no-bitmap', 'metadata', 'revert-reshape'\n"); exit(outf == stdout ? 0 : 2); case O(MANAGE,'U'): |