Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221946
b: refs/heads/master
c: c888d4e
h: refs/heads/master
v: v3
  • Loading branch information
Vasiliy Kulikov authored and Greg Kroah-Hartman committed Nov 9, 2010
1 parent 5e1f64d commit f552815
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: 97b5519b08086eec02f2241b6764d73f997014c9
refs/heads/master: c888d4e7b2644c7ff17098b0b521c29b98e0abd0
6 changes: 1 addition & 5 deletions trunk/drivers/staging/cpia/cpia.c
Original file line number Diff line number Diff line change
Expand Up @@ -3184,13 +3184,9 @@ static int cpia_open(struct file *file)
goto oops;
}

err = -EINTR;
if(signal_pending(current))
goto oops;

/* Set ownership of /proc/cpia/videoX to current user */
if(cam->proc_entry)
cam->proc_entry->uid = current_uid();
cam->proc_entry->uid = current_euid();

/* set mark for loading first frame uncompressed */
cam->first_frame = 1;
Expand Down

0 comments on commit f552815

Please sign in to comment.