projects
/
linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48c48ec
)
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
Raspbian kernel package updater
<root@raspbian.org>
Sun, 23 Jul 2017 03:00:09 +0000
(
03:00
+0000)
commit
20223f0f39ea9d31ece08f04ac79f8c4e8d98246
upstream.
Fixes: 793b80ef14af ("vfs: pass a flags argument to vfs_readv/vfs_writev")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/read_write.c
patch
|
blob
|
history
diff --git
a/fs/read_write.c
b/fs/read_write.c
index 7dfd7323b2c3e0459b13e38bc1a2482b6b106ab7..2d2fe0890e001c7b89e3eb0644cca895047ef486 100644
(file)
--- a/
fs/read_write.c
+++ b/
fs/read_write.c
@@
-1256,7
+1256,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)