Page MenuHomeFreeBSD

if.c: no need for trylock
ClosedPublic

Authored by bz on May 26 2016, 1:48 PM.
Tags
None
Referenced Files
F114935354: D6578.id16907.diff
Fri, Apr 18, 6:19 PM
Unknown Object (File)
Wed, Apr 16, 11:54 AM
Unknown Object (File)
Tue, Mar 25, 8:02 AM
Unknown Object (File)
Feb 2 2025, 11:35 PM
Unknown Object (File)
Jan 16 2025, 1:30 AM
Unknown Object (File)
Jan 11 2025, 4:45 PM
Unknown Object (File)
Jan 11 2025, 7:14 AM
Unknown Object (File)
Jan 8 2025, 12:06 PM
Subscribers

Details

Summary

In if_attachdomain1() there does not seem to be any reason
to use TRYLOCK rather than just acquire the lock.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

bz retitled this revision from to if.c: no need for trylock.
bz updated this object.
bz edited the test plan for this revision. (Show Details)
bz added reviewers: gnn, markj, rwatson.
bz set the repository for this revision to rS FreeBSD src repository - subversion.
bz added a subscriber: network.
markj edited edge metadata.

LGTM. I can't see any reason based on the history of the change that introduced this.

This revision is now accepted and ready to land.May 26 2016, 8:28 PM
This revision was automatically updated to reflect the committed changes.