HomeFreeBSD

Fix the glitch introduced in rev. 1.93. In softdep_sync_metadata(),
rS162460Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Fix the glitch introduced in rev. 1.93. In softdep_sync_metadata(),
switch by worklist type contains two for() loops, for D_INDIRDEP and
D_PAGEDEP. On error, these loops are exited by break, where the switch
actually shall be leaved. Use goto instead of break to reach the error
handling code.

Reported by: Peter Holm
Reviewed by: tegge
Approved by: pjd (mentor)
MFC after: 2 weeks

Details

Provenance
kibAuthored on
Parents
rS162459: There is no need to set 'sp' to NULL anymore.
Branches
Unknown
Tags
Unknown

Event Timeline