Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 192260
b: refs/heads/master
c: c2f9805
h: refs/heads/master
v: v3
  • Loading branch information
Frederic Weisbecker committed May 17, 2010
1 parent 0b81b32 commit 14cd442
Show file tree
Hide file tree
Showing 2 changed files with 3 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: d79b6f4de5db0103ceb4734e42ad101d836d61d9
refs/heads/master: c2f980500a81006173daf3048284b28832858616
4 changes: 2 additions & 2 deletions trunk/fs/proc/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,9 @@ static long proc_reg_unlocked_ioctl(struct file *file, unsigned int cmd, unsigne
if (rv == -ENOIOCTLCMD)
rv = -EINVAL;
} else if (ioctl) {
lock_kernel();
WARN_ONCE(1, "Procfs ioctl handlers must use unlocked_ioctl, "
"%pf will be called without the Bkl held\n", ioctl);
rv = ioctl(file->f_path.dentry->d_inode, file, cmd, arg);
unlock_kernel();
}

pde_users_dec(pde);
Expand Down

0 comments on commit 14cd442

Please sign in to comment.