Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5cc63684 authored by Roger He's avatar Roger He Committed by Alex Deucher
Browse files

drm/ttm: init locked again to prevent incorrect unlock

parent 7364d608
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -737,6 +737,7 @@ static int ttm_mem_evict_first(struct ttm_bo_device *bdev,
								      place)) {
				if (locked)
					reservation_object_unlock(bo->resv);
				locked = false;
				continue;
			}
			break;