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
reiserfs: new export ops
[safe/jmp/linux-2.6]
/
fs
/
read_write.c
diff --git
a/fs/read_write.c
b/fs/read_write.c
index
507ddff
..
124693e
100644
(file)
--- a/
fs/read_write.c
+++ b/
fs/read_write.c
@@
-205,7
+205,7
@@
int rw_verify_area(int read_write, struct file *file, loff_t *ppos, size_t count
if (unlikely((pos < 0) || (loff_t) (pos + count) < 0))
goto Einval;
if (unlikely((pos < 0) || (loff_t) (pos + count) < 0))
goto Einval;
- if (unlikely(inode->i_flock &&
MANDATORY_LOCK
(inode))) {
+ if (unlikely(inode->i_flock &&
mandatory_lock
(inode))) {
int retval = locks_mandatory_area(
read_write == READ ? FLOCK_VERIFY_READ : FLOCK_VERIFY_WRITE,
inode, file, pos, count);
int retval = locks_mandatory_area(
read_write == READ ? FLOCK_VERIFY_READ : FLOCK_VERIFY_WRITE,
inode, file, pos, count);