projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bee197
)
fs: pass on flags in compat_writev
author
Christoph Hellwig
<hch@lst.de>
Fri, 16 Jun 2017 09:08:24 +0000
(11:08 +0200)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 16 Jun 2017 09:40:51 +0000
(18:40 +0900)
Fixes:
793b80ef14af
("vfs: pass a flags argument to vfs_readv/vfs_writev")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: stable@vger.kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/read_write.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/read_write.c
b/fs/read_write.c
index 47c1d4484df9e6b69333215efc10d7a5db64210f..19d4d88fa285b39493d4b7793a69a23876a0988e 100644
(file)
--- a/
fs/read_write.c
+++ b/
fs/read_write.c
@@
-1285,7
+1285,7
@@
static size_t compat_writev(struct file *file,
if (!(file->f_mode & FMODE_CAN_WRITE))
goto out;
- ret = compat_do_readv_writev(WRITE, file, vec, vlen, pos,
0
);
+ ret = compat_do_readv_writev(WRITE, file, vec, vlen, pos,
flags
);
out:
if (ret > 0)