drm/vmwgfx: Don't access file_priv in cursor_set when handle==0
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 3 Jun 2013 13:10:41 +0000 (16:10 +0300)
committerDave Airlie <airlied@redhat.com>
Mon, 10 Jun 2013 22:47:32 +0000 (08:47 +1000)
We want to disable the cursor by calling ->cursor_set() with handle=0
from places where we don't have a file_priv, so don't try to access it
unless necessary.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found