Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100324
b: refs/heads/master
c: 9514dff
h: refs/heads/master
v: v3
  • Loading branch information
Jonathan Corbet committed Jun 20, 2008
1 parent 5820b60 commit a1e5227
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: a30427d92d0bc152b833088e4a305bbeb1a0c162
refs/heads/master: 9514dff918b947ae43b66517dc90d0e05548bd6a
5 changes: 1 addition & 4 deletions trunk/fs/char_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -394,11 +394,8 @@ static int chrdev_open(struct inode *inode, struct file *filp)
cdev_put(p);
return -ENXIO;
}
if (filp->f_op->open) {
lock_kernel();
if (filp->f_op->open)
ret = filp->f_op->open(inode,filp);
unlock_kernel();
}
if (ret)
cdev_put(p);
return ret;
Expand Down

0 comments on commit a1e5227

Please sign in to comment.