drm/ttm: Don't leak a resource on swapout move error
authorjsg <jsg@openbsd.org>
Wed, 26 Jul 2023 06:40:47 +0000 (06:40 +0000)
committerjsg <jsg@openbsd.org>
Wed, 26 Jul 2023 06:40:47 +0000 (06:40 +0000)
commitfc38e51b32052f0d899dc660efc85f65179e94f0
treefbe51da062f56abafb4f293defb8969ae0d9efdc
parent08003bbdbebf0a2b44248bb2681c3e0548e7c7b3
drm/ttm: Don't leak a resource on swapout move error

From Thomas Hellstrom
f037f6038736bd038ddb9c72de979a08cc1ee3b5 in linux-6.1.y/6.1.40
a590f03d8de7c4cb7ce4916dc7f2fd10711faabe in mainline linux
sys/dev/pci/drm/ttm/ttm_bo.c