Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242312
b: refs/heads/master
c: 09bfa51
h: refs/heads/master
v: v3
  • Loading branch information
Herton Ronaldo Krzesinski authored and Chris Wilson committed Mar 23, 2011
1 parent cd1ff14 commit 7e26859
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 00d70b15125030391d17baab2c2f70f93b3339a6
refs/heads/master: 09bfa51773c1e90f13000dc2fc0c4b84047009bc
6 changes: 4 additions & 2 deletions trunk/drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -1796,8 +1796,10 @@ i915_gem_request_remove_from_client(struct drm_i915_gem_request *request)
return;

spin_lock(&file_priv->mm.lock);
list_del(&request->client_list);
request->file_priv = NULL;
if (request->file_priv) {
list_del(&request->client_list);
request->file_priv = NULL;
}
spin_unlock(&file_priv->mm.lock);
}

Expand Down

0 comments on commit 7e26859

Please sign in to comment.