From: Chris Wilson Date: Wed, 2 Jan 2013 10:31:22 +0000 (+0000) Subject: drm/i915; Only increment the user-pin-count after successfully pinning the bo X-Git-Tag: v3.8-rc4~34^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93be8788e648817d62fda33e2998eb6ca6ebf3a3;p=pandora-kernel.git drm/i915; Only increment the user-pin-count after successfully pinning the bo As along the error path we do not correct the user pin-count for the failure, we may end up with userspace believing that it has a pinned object at offset 0 (when interrupted by a signal for example). Signed-off-by: Chris Wilson Cc: stable@vger.kernel.org Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed