Commit 173d6f6
mshv: release mutex on region invalidation failure
In the region invalidation failure path in
mshv_region_interval_invalidate(), the region mutex is not released. Fix
it by releasing the mutex in the failure path.
Signed-off-by: Anirudh Rayabharam (Microsoft) <[email protected]>
Fixes: b9a66cd ("mshv: Add support for movable memory regions")
Acked-by: Stanislav Kinsburskii <[email protected]>
Reviewed-by: Roman Kisel <[email protected]>
Signed-off-by: Wei Liu <[email protected]>1 parent 52f758e commit 173d6f6
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
514 | | - | |
| 514 | + | |
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
| 522 | + | |
| 523 | + | |
522 | 524 | | |
523 | 525 | | |
524 | 526 | | |
| |||
0 commit comments