projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ALSA: hda - Introduce azx_has_pm_runtime() macro
[firefly-linux-kernel-4.4.55.git]
/
fs
/
read_write.c
diff --git
a/fs/read_write.c
b/fs/read_write.c
index c0805c93b6fa18d34b9b579d5c470af2a5a66b1b..4060691e78f78ab734986a1347c1d81d117c4b90 100644
(file)
--- a/
fs/read_write.c
+++ b/
fs/read_write.c
@@
-358,7
+358,7
@@
int rw_verify_area(int read_write, struct file *file, const loff_t *ppos, size_t
return retval;
}
return retval;
}
- if (unlikely(inode->i_fl
ock
&& mandatory_lock(inode))) {
+ if (unlikely(inode->i_fl
ctx
&& mandatory_lock(inode))) {
retval = locks_mandatory_area(
read_write == READ ? FLOCK_VERIFY_READ : FLOCK_VERIFY_WRITE,
inode, file, pos, count);
retval = locks_mandatory_area(
read_write == READ ? FLOCK_VERIFY_READ : FLOCK_VERIFY_WRITE,
inode, file, pos, count);