ttm: Fix a return value.

Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
This commit is contained in:
Thomas Hellstrom 2009-04-28 20:58:10 +02:00
parent 871a640475
commit 70b084c84a

View file

@ -275,7 +275,7 @@ int ttm_pl_ub_create_ioctl(struct ttm_object_file *tfile,
mutex_unlock(&bo->mutex);
ttm_bo_unref(&bo);
out:
return 0;
return ret;
out_err:
ttm_bo_unref(&tmp);
ttm_bo_unref(&bo);