git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Blackfin: fix BF522/BF523 max VCO mixup
[safe/jmp/linux-2.6]
/
fs
/
locks.c
diff --git
a/fs/locks.c
b/fs/locks.c
index
2eb8197
..
19ee18a
100644
(file)
--- a/
fs/locks.c
+++ b/
fs/locks.c
@@
-1591,7
+1591,7
@@
SYSCALL_DEFINE2(flock, unsigned int, fd, unsigned int, cmd)
if (can_sleep)
lock->fl_flags |= FL_SLEEP;
- error = security_file_lock(filp,
cmd
);
+ error = security_file_lock(filp,
lock->fl_type
);
if (error)
goto out_free;