Page MenuHomeFreeBSD

Fix fallout from r366811
ClosedPublic

Authored by trasz on Oct 19 2020, 11:24 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 28, 12:43 PM
Unknown Object (File)
Tue, Apr 8, 5:47 PM
Unknown Object (File)
Mar 22 2025, 10:40 AM
Unknown Object (File)
Mar 20 2025, 4:43 AM
Unknown Object (File)
Mar 16 2025, 2:47 PM
Unknown Object (File)
Feb 22 2025, 2:30 PM
Unknown Object (File)
Feb 22 2025, 2:08 PM
Unknown Object (File)
Feb 22 2025, 1:48 PM
Subscribers

Details

Summary

Fix fallout from r366811.

PR: 250442

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/geom/geom_dev.c
246 ↗(On Diff #78420)

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?

360 ↗(On Diff #78420)

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
360 ↗(On Diff #78420)

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