Page MenuHomeFreeBSD

Fix fallout from r366811
ClosedPublic

Authored by trasz on Oct 19 2020, 11:24 AM.
Tags
None
Referenced Files
F101734312: D26855.diff
Sun, Nov 3, 12:13 AM
Unknown Object (File)
Mon, Oct 14, 1:38 PM
Unknown Object (File)
Sep 30 2024, 9:06 PM
Unknown Object (File)
Sep 17 2024, 9:06 AM
Unknown Object (File)
Sep 5 2024, 5:55 PM
Unknown Object (File)
Sep 1 2024, 10:37 AM
Unknown Object (File)
Sep 1 2024, 5:37 AM
Unknown Object (File)
Jun 2 2024, 5:11 PM
Subscribers

Details

Summary

Fix fallout from r366811.

PR: 250442

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 34259
Build 31402: arc lint + arc unit

Event Timeline

sys/geom/geom_dev.c
246

How can provider be NULL there, if this function either called by the provider or by g_dev_taste() where you are checking for attach error?

357

This part is OK, I am just thinking whether we should print this error, since as I see you are not doing it for other classes.

Drop unnecessary chunk and add another one, fixing error handling
in g_uzip(4).

This revision is now accepted and ready to land.Oct 19 2020, 3:30 PM
This revision was automatically updated to reflect the committed changes.
sys/geom/geom_dev.c
357

I'd prefer to leave it for now, in case this triggers in some unexpected cases.