Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F133010074
D53180.id164464.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
861 B
Referenced Files
None
Subscribers
None
D53180.id164464.diff
View Options
diff --git a/sbin/geom/core/geom.c b/sbin/geom/core/geom.c
--- a/sbin/geom/core/geom.c
+++ b/sbin/geom/core/geom.c
@@ -1260,8 +1260,6 @@
LIST_FOREACH(cp, &gp->lg_consumer, lg_consumer) {
cstate = status_one_consumer(cp, "state");
csyncr = status_one_consumer(cp, "synchronized");
- if (cstate == NULL && csyncr == NULL)
- continue;
if (!gotone || script) {
if (!gotone) {
@@ -1281,9 +1279,12 @@
} else if (cstate != NULL) {
xo_emit("{P:/%*s}{:compontent} ({:state})\n",
len, "", cp->lg_provider->lg_name, cstate);
- } else {
+ } else if (csyncr != NULL) {
xo_emit("{P:/%*s}{:compontent} ({:synchronized})\n",
len, "", cp->lg_provider->lg_name, csyncr);
+ } else {
+ xo_emit("{P:/%*s}{:compontent}\n",
+ len, "", cp->lg_provider->lg_name);
}
xo_close_instance("component");
gotone = 1;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 23, 1:05 AM (7 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23901665
Default Alt Text
D53180.id164464.diff (861 B)
Attached To
Mode
D53180: geom: fix glabel status after 0d4642a
Attached
Detach File
Event Timeline
Log In to Comment