[LU-6522] doble semaphore unlock in loop_thread Created: 27/Apr/15 Updated: 30/Jan/22 Resolved: 30/Jan/22 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Oleg Drokin | Assignee: | WC Triage |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
smatch has highlighted this gem in loop_thread(): /*
* up sem, we are running
*/
up(&lo->lo_sem);
... {BIG HONKING LOOP} ...
out:
up(&lo->lo_sem);
return ret;
I imagine when the loop terminates we don't care anymore, but still it just looks wrong and probably should be fixed? |
| Comments |
| Comment by Andreas Dilger [ 30/Jan/22 ] |
|
Fixed by patch https://review.whamcloud.com/23817 " |