Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100405
b: refs/heads/master
c: a238b79
h: refs/heads/master
i:
  100403: ff8553d
v: v3
  • Loading branch information
Jonathan Corbet committed Jul 2, 2008
1 parent e873944 commit 3ee3a2b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 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: 2db9f0a35a4e4ad7cee756a4e0dabb7c1c8b6c72
refs/heads/master: a238b790d5f99c7832f9b73ac8847025815b85f7
3 changes: 0 additions & 3 deletions trunk/fs/fcntl.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <linux/fdtable.h>
#include <linux/capability.h>
#include <linux/dnotify.h>
#include <linux/smp_lock.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/security.h>
Expand Down Expand Up @@ -227,7 +226,6 @@ static int setfl(int fd, struct file * filp, unsigned long arg)
if (error)
return error;

lock_kernel();
if ((arg ^ filp->f_flags) & FASYNC) {
if (filp->f_op && filp->f_op->fasync) {
error = filp->f_op->fasync(fd, filp, (arg & FASYNC) != 0);
Expand All @@ -238,7 +236,6 @@ static int setfl(int fd, struct file * filp, unsigned long arg)

filp->f_flags = (arg & SETFL_MASK) | (filp->f_flags & ~SETFL_MASK);
out:
unlock_kernel();
return error;
}

Expand Down

0 comments on commit 3ee3a2b

Please sign in to comment.