summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorIlija Hadzic <ilijahadzic@gmail.com>2012-10-29 18:35:00 +0100
committerDave Airlie <airlied@redhat.com>2012-11-07 01:51:08 +0100
commit0f1cb1bd94a9c967cd4ad3de51cfdabe61eb5dcc (patch)
tree563f4c28f5049c3bec4ab0c1efaa147098062e46 /samples
parentLinux 3.7-rc4 (diff)
downloadlinux-0f1cb1bd94a9c967cd4ad3de51cfdabe61eb5dcc.tar.xz
linux-0f1cb1bd94a9c967cd4ad3de51cfdabe61eb5dcc.zip
drm: restore open_count if drm_setup fails
If drm_setup (called at first open) fails, the whole open call has failed, so we should not keep the open_count incremented. Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com> Cc: stable@vger.kernel.org Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions