Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 253838
b: refs/heads/master
c: cf12791
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Jun 20, 2011
1 parent be9987b commit 415ef68
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: 730e908f3539066d4aa01f4720ebfc750ce4d045
refs/heads/master: cf1279111686d9742cbc4145bc9d526c83f59fea
6 changes: 1 addition & 5 deletions trunk/fs/proc/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2169,11 +2169,7 @@ static const struct file_operations proc_fd_operations = {
*/
static int proc_fd_permission(struct inode *inode, int mask, unsigned int flags)
{
int rv;

if (flags & IPERM_FLAG_RCU)
return -ECHILD;
rv = generic_permission(inode, mask, flags, NULL);
int rv = generic_permission(inode, mask, flags, NULL);
if (rv == 0)
return 0;
if (task_pid(current) == proc_pid(inode))
Expand Down

0 comments on commit 415ef68

Please sign in to comment.