diff options
author | Ilija Hadzic <ilijahadzic@gmail.com> | 2012-10-29 17:35:00 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-17 13:16:12 -0800 |
commit | 47baf0d8ba90a5765f8f51130f9b20dc49ff6da4 (patch) | |
tree | 5c9c9c7d2aa46eebfd3a1c934298cd7c421167ac /usr | |
parent | cde52501359fecbcb5832c77c49f11af2cfaa21b (diff) | |
download | linux-3.10-47baf0d8ba90a5765f8f51130f9b20dc49ff6da4.tar.gz linux-3.10-47baf0d8ba90a5765f8f51130f9b20dc49ff6da4.tar.bz2 linux-3.10-47baf0d8ba90a5765f8f51130f9b20dc49ff6da4.zip |
drm: restore open_count if drm_setup fails
commit 0f1cb1bd94a9c967cd4ad3de51cfdabe61eb5dcc upstream.
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>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions