Message ID | 32c8cd8d2716f5e52aebea4e4d303eeb4e0550f9.1609938610.git.msuchanek@suse.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [ndctl,rebased,1/3] ndctl/namespace: Skip seed namespaces when processing all namespaces. | expand |
diff --git a/ndctl/namespace.c b/ndctl/namespace.c index b9ffd21fe7bf..c3a058d8ff1a 100644 --- a/ndctl/namespace.c +++ b/ndctl/namespace.c @@ -2148,6 +2148,9 @@ static int do_xaction_namespace(const char *namespace, if (!namespace && action != ACTION_CREATE) return rc; + if (namespace && (strcmp(namespace, "all") == 0)) + rc = 0; + if (verbose) ndctl_set_log_priority(ctx, LOG_DEBUG);