diff options
author | Jakob Bornecrantz <jakob@tungstengraphics.com> | 2008-04-23 12:43:30 +0200 |
---|---|---|
committer | Jakob Bornecrantz <jakob@tungstengraphics.com> | 2008-04-23 12:43:45 +0200 |
commit | 9ba3aaaa1a22663ec3d8d9d1792edf10a25d0ad7 (patch) | |
tree | 7ada44ddf652e59cef2e31054f0f534d09f56c09 | |
parent | feff72929e94b6c17e352a2ec86b3440b9edf059 (diff) |
Fixed unlock check on EAGAIN
-rw-r--r-- | linux-core/drm_vm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/drm_vm.c b/linux-core/drm_vm.c index cabfb8f4..b85b4c13 100644 --- a/linux-core/drm_vm.c +++ b/linux-core/drm_vm.c @@ -751,6 +751,7 @@ static unsigned long drm_bo_vm_nopfn(struct vm_area_struct *vma, err = drm_bo_wait(bo, 0, 1, 0, 1); if (err) { ret = (err != -EAGAIN) ? NOPFN_SIGBUS : NOPFN_REFAULT; + bo->priv_flags &= ~_DRM_BO_FLAG_UNLOCKED; goto out_unlock; } |